Skip to content

Commit

Permalink
Update openssl/src/cipher_ctx.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler authored Aug 22, 2023
1 parent f3a35f8 commit d266360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openssl/src/cipher_ctx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ impl CipherCtx {

impl CipherCtxRef {
#[corresponds(EVP_CIPHER_CTX_copy)]
pub fn copy(&mut self, src: &CipherCtx) -> Result<(), ErrorStack> {
pub fn copy(&mut self, src: &CipherCtxRef) -> Result<(), ErrorStack> {
unsafe {
cvt(ffi::EVP_CIPHER_CTX_copy(self.as_ptr(), src.as_ptr()))?;
Ok(())
Expand Down

0 comments on commit d266360

Please sign in to comment.