Update to latest rust master (0.8-pre d2b0b11)
This commit is contained in:
parent
ec7474c895
commit
76a3b83d27
2
hash.rs
2
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);
|
||||
|
|
|
|||
2
pkey.rs
2
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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue