aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/hash.rs
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2014-09-17 12:21:07 -0400
committerSteven Fackler <[email protected]>2014-09-17 12:21:07 -0400
commitcc7511a3329ae07df6bb658391fe19e8115e7f52 (patch)
treeb43617b033ed59a2f15f59581843e210c495895e /src/crypto/hash.rs
parentMerge pull request #44 from mvdnes/rsa_pubkey (diff)
parentUpdate for rust rfc 52 changes (diff)
downloadrust-openssl-cc7511a3329ae07df6bb658391fe19e8115e7f52.tar.xz
rust-openssl-cc7511a3329ae07df6bb658391fe19e8115e7f52.zip
Merge pull request #48 from ebfe/rfc-52
Update for rust rfc 52 changes
Diffstat (limited to 'src/crypto/hash.rs')
-rw-r--r--src/crypto/hash.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/hash.rs b/src/crypto/hash.rs
index 6c9f33e4..4a4031e2 100644
--- a/src/crypto/hash.rs
+++ b/src/crypto/hash.rs
@@ -96,7 +96,7 @@ impl Hasher {
pub fn final(&self) -> Vec<u8> {
unsafe {
let mut res = Vec::from_elem(self.len, 0u8);
- EVP_DigestFinal(self.ctx, res.as_mut_ptr(), ptr::mut_null());
+ EVP_DigestFinal(self.ctx, res.as_mut_ptr(), ptr::null_mut());
res
}
}