We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2517960 commit 37a920cCopy full SHA for 37a920c
openssl/src/pkey_ctx.rs
@@ -141,7 +141,7 @@ impl<T> PkeyCtxRef<T>
141
where
142
T: HasPrivate,
143
{
144
- /// Prepares the context for encryption using the private key.
+ /// Prepares the context for decryption using the private key.
145
#[corresponds(EVP_PKEY_decrypt_init)]
146
#[inline]
147
pub fn decrypt_init(&mut self) -> Result<(), ErrorStack> {
@@ -211,6 +211,7 @@ impl<T> PkeyCtxRef<T> {
211
212
/// Prepares the context for key generation.
213
#[corresponds(EVP_PKEY_keygen_init)]
214
+ #[inline]
215
pub fn keygen_init(&mut self) -> Result<(), ErrorStack> {
216
unsafe {
217
cvt(ffi::EVP_PKEY_keygen_init(self.as_ptr()))?;
0 commit comments