We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3a35f8 commit d266360Copy full SHA for d266360
1 file changed
openssl/src/cipher_ctx.rs
@@ -106,7 +106,7 @@ impl CipherCtx {
106
107
impl CipherCtxRef {
108
#[corresponds(EVP_CIPHER_CTX_copy)]
109
- pub fn copy(&mut self, src: &CipherCtx) -> Result<(), ErrorStack> {
+ pub fn copy(&mut self, src: &CipherCtxRef) -> Result<(), ErrorStack> {
110
unsafe {
111
cvt(ffi::EVP_CIPHER_CTX_copy(self.as_ptr(), src.as_ptr()))?;
112
Ok(())
0 commit comments