Fixing typo

This commit is contained in:
Brian Chin 2017-01-30 10:35:57 -08:00
parent ef61b814ff
commit 72a10f3e65
1 changed files with 1 additions and 1 deletions

View File

@ -353,7 +353,7 @@ unsafe fn pkey_ctx_get_rsa_padding(ctx: *mut ffi::EVP_PKEY_CTX, ppad: *mut c_int
ffi::EVP_PKEY_CTX_ctrl(ctx, ffi::EVP_PKEY_RSA, -1, ffi::RSA_PKEY_CTRL_GET_RSA_PADDING, 0, ppad as *mut c_void)
}
// This is needed here, as it needs access to the privade data of Padding.
// This is needed here, as it needs access to the private data of Padding.
impl PKeyCtxRef {
pub fn set_rsa_padding(&mut self, pad: Padding) -> Result<(), ErrorStack> {
unsafe {