diff options
| author | Michael Gehring <[email protected]> | 2014-09-17 17:21:17 +0200 |
|---|---|---|
| committer | Michael Gehring <[email protected]> | 2014-09-17 17:21:17 +0200 |
| commit | 6802216f79cb7fffa48bc10daa8c5d0d8a6a63f9 (patch) | |
| tree | b43617b033ed59a2f15f59581843e210c495895e /src/crypto/pkey.rs | |
| parent | Merge pull request #44 from mvdnes/rsa_pubkey (diff) | |
| download | rust-openssl-6802216f79cb7fffa48bc10daa8c5d0d8a6a63f9.tar.xz rust-openssl-6802216f79cb7fffa48bc10daa8c5d0d8a6a63f9.zip | |
Update for rust rfc 52 changes
Diffstat (limited to 'src/crypto/pkey.rs')
| -rw-r--r-- | src/crypto/pkey.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/pkey.rs b/src/crypto/pkey.rs index 4eb9bf40..d4a98713 100644 --- a/src/crypto/pkey.rs +++ b/src/crypto/pkey.rs @@ -107,7 +107,7 @@ impl PKey { fn _fromstr(&mut self, s: &[u8], f: unsafe extern "C" fn(*const *mut RSA, *const *const u8, c_uint) -> *mut RSA) { unsafe { - let rsa = ptr::mut_null(); + let rsa = ptr::null_mut(); f(&rsa, &s.as_ptr(), s.len() as c_uint); EVP_PKEY_set1_RSA(self.evp, rsa); } |