Skip to content

Commit d266360

Browse files
authored
Update openssl/src/cipher_ctx.rs
1 parent f3a35f8 commit d266360

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openssl/src/cipher_ctx.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ impl CipherCtx {
106106

107107
impl CipherCtxRef {
108108
#[corresponds(EVP_CIPHER_CTX_copy)]
109-
pub fn copy(&mut self, src: &CipherCtx) -> Result<(), ErrorStack> {
109+
pub fn copy(&mut self, src: &CipherCtxRef) -> Result<(), ErrorStack> {
110110
unsafe {
111111
cvt(ffi::EVP_CIPHER_CTX_copy(self.as_ptr(), src.as_ptr()))?;
112112
Ok(())

0 commit comments

Comments
 (0)