Unverified Commit d2663601 authored by Steven Fackler's avatar Steven Fackler Committed by GitHub
Browse files

Update openssl/src/cipher_ctx.rs

parent f3a35f87
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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(())