Loading openssl/src/pkey_ctx.rs +2 −1 Original line number Diff line number Diff line Loading @@ -141,7 +141,7 @@ impl<T> PkeyCtxRef<T> where T: HasPrivate, { /// Prepares the context for encryption using the private key. /// Prepares the context for decryption using the private key. #[corresponds(EVP_PKEY_decrypt_init)] #[inline] pub fn decrypt_init(&mut self) -> Result<(), ErrorStack> { Loading Loading @@ -211,6 +211,7 @@ impl<T> PkeyCtxRef<T> { /// Prepares the context for key generation. #[corresponds(EVP_PKEY_keygen_init)] #[inline] pub fn keygen_init(&mut self) -> Result<(), ErrorStack> { unsafe { cvt(ffi::EVP_PKEY_keygen_init(self.as_ptr()))?; Loading Loading
openssl/src/pkey_ctx.rs +2 −1 Original line number Diff line number Diff line Loading @@ -141,7 +141,7 @@ impl<T> PkeyCtxRef<T> where T: HasPrivate, { /// Prepares the context for encryption using the private key. /// Prepares the context for decryption using the private key. #[corresponds(EVP_PKEY_decrypt_init)] #[inline] pub fn decrypt_init(&mut self) -> Result<(), ErrorStack> { Loading Loading @@ -211,6 +211,7 @@ impl<T> PkeyCtxRef<T> { /// Prepares the context for key generation. #[corresponds(EVP_PKEY_keygen_init)] #[inline] pub fn keygen_init(&mut self) -> Result<(), ErrorStack> { unsafe { cvt(ffi::EVP_PKEY_keygen_init(self.as_ptr()))?; Loading