Commit d7ef3374 authored by Michael Boquard's avatar Michael Boquard
Browse files

Fixed PR issues

parent bbaaa487
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -382,10 +382,10 @@ impl MdCtxRef {
    }

    /// Resets the underlying EVP_MD_CTX instance
    #[corresponds(EVP_MD_CTX_init)]
    #[corresponds(EVP_MD_CTX_reset)]
    #[cfg(ossl111)]
    #[inline]
    pub fn reset(&self) -> Result<(), ErrorStack> {
    pub fn reset(&mut self) -> Result<(), ErrorStack> {
        unsafe {
            let _ = cvt(ffi::EVP_MD_CTX_reset(self.as_ptr()))?;
            Ok(())