diff options
| author | Gleb Kozyrev <[email protected]> | 2015-01-21 18:33:48 +0200 |
|---|---|---|
| committer | Gleb Kozyrev <[email protected]> | 2015-01-21 21:56:56 +0200 |
| commit | cb0898df37374ac99b56d40f6e933a8c4bb4cec8 (patch) | |
| tree | 1eee10dde3a4c86ecd773e0da1d8bc8e2759763c /src/crypto/hash.rs | |
| parent | Release v0.2.16 (diff) | |
| download | rust-openssl-cb0898df37374ac99b56d40f6e933a8c4bb4cec8.tar.xz rust-openssl-cb0898df37374ac99b56d40f6e933a8c4bb4cec8.zip | |
Bring ffi definitions closer to the originals
Add missing return types and fix imprecise type translations.
Repair the fallout in the openssl crate.
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); } } |