diff options
| -rw-r--r-- | hash.rs | 2 | ||||
| -rw-r--r-- | pkey.rs | 2 | ||||
| -rw-r--r-- | symm.rs | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -99,7 +99,7 @@ impl Hasher { } impl Drop for Hasher { - fn drop(&self) { + fn drop(&mut self) { #[fixed_stack_segment]; #[inline(never)]; unsafe { libcrypto::EVP_MD_CTX_destroy(self.ctx); @@ -361,7 +361,7 @@ impl PKey { } impl Drop for PKey { - fn drop(&self) { + fn drop(&mut self) { #[fixed_stack_segment]; #[inline(never)]; unsafe { libcrypto::EVP_PKEY_free(self.evp); @@ -184,7 +184,7 @@ impl Crypter { } impl Drop for Crypter { - fn drop(&self) { + fn drop(&mut self) { #[fixed_stack_segment]; #[inline(never)]; unsafe { libcrypto::EVP_CIPHER_CTX_free(self.ctx); |