diff options
| author | Aaron Weiss <[email protected]> | 2014-12-19 10:45:19 -0500 |
|---|---|---|
| committer | Aaron Weiss <[email protected]> | 2014-12-19 10:45:19 -0500 |
| commit | a637f2b0bfaa077e1e56edc83d76677bccff09c6 (patch) | |
| tree | e252abe5b1fcea61cab36f101315189a650d7ad7 /src/crypto | |
| parent | Merge pull request #119 from glennw/android-static-linking (diff) | |
| download | rust-openssl-a637f2b0bfaa077e1e56edc83d76677bccff09c6.tar.xz rust-openssl-a637f2b0bfaa077e1e56edc83d76677bccff09c6.zip | |
Updated for language changes to macros.
Diffstat (limited to 'src/crypto')
| -rw-r--r-- | src/crypto/hmac.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/hmac.rs b/src/crypto/hmac.rs index 8096a948..aab0c014 100644 --- a/src/crypto/hmac.rs +++ b/src/crypto/hmac.rs @@ -55,7 +55,7 @@ impl HMAC { let mut res = Vec::from_elem(self.len, 0u8); let mut outlen = 0; ffi::HMAC_Final(&mut self.ctx, res.as_mut_ptr(), &mut outlen); - assert!(self.len == outlen as uint) + assert!(self.len == outlen as uint); res } } |