aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Ballard <[email protected]>2013-09-18 13:51:05 -0700
committerKevin Ballard <[email protected]>2013-09-18 13:51:05 -0700
commit76a3b83d27a06ff79ca8bd8a652b3476ae3b2c9e (patch)
tree0eea9e56014f5f609acde2bd893d03d2d00acad9
parentUpdate to latest rust master (0.8-pre 063a005) (diff)
downloadrust-openssl-76a3b83d27a06ff79ca8bd8a652b3476ae3b2c9e.tar.xz
rust-openssl-76a3b83d27a06ff79ca8bd8a652b3476ae3b2c9e.zip
Update to latest rust master (0.8-pre d2b0b11)
-rw-r--r--hash.rs2
-rw-r--r--pkey.rs2
-rw-r--r--symm.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/hash.rs b/hash.rs
index 61f9c80f..3ace9751 100644
--- a/hash.rs
+++ b/hash.rs
@@ -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);
diff --git a/pkey.rs b/pkey.rs
index c6aac6d4..ce8bed91 100644
--- a/pkey.rs
+++ b/pkey.rs
@@ -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);
diff --git a/symm.rs b/symm.rs
index b9353fcc..5f91909f 100644
--- a/symm.rs
+++ b/symm.rs
@@ -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);