diff options
| author | Steven Fackler <[email protected]> | 2015-01-21 12:27:01 -0800 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2015-01-21 12:27:01 -0800 |
| commit | 0afb82bc4bba2e784a3cb687fe6aa9a857b921db (patch) | |
| tree | 1eee10dde3a4c86ecd773e0da1d8bc8e2759763c /src/crypto/hash.rs | |
| parent | Release v0.2.16 (diff) | |
| parent | Bring ffi definitions closer to the originals (diff) | |
| download | rust-openssl-0afb82bc4bba2e784a3cb687fe6aa9a857b921db.tar.xz rust-openssl-0afb82bc4bba2e784a3cb687fe6aa9a857b921db.zip | |
Merge pull request #145 from gkoz/ffi_fixes
Bring ffi definitions closer to the originals
Diffstat (limited to 'src/crypto/hash.rs')
| -rw-r--r-- | src/crypto/hash.rs | 2 |
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); } } |