aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/hash.rs
diff options
context:
space:
mode:
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 602a7d08..638a2254 100644
--- a/src/crypto/hash.rs
+++ b/src/crypto/hash.rs
@@ -84,7 +84,7 @@ impl Hasher {
/// Update this hasher with more input bytes
pub fn update(&mut self, data: &[u8]) {
unsafe {
- ffi::EVP_DigestUpdate(self.ctx.ptr, data.as_ptr(), data.len() as c_uint)
+ ffi::EVP_DigestUpdate(self.ctx.ptr, data.as_ptr(), data.len() as c_uint);
}
}