diff options
| author | Steven Fackler <[email protected]> | 2014-11-16 13:57:05 -0800 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2014-11-16 14:01:24 -0800 |
| commit | 5258ce6ece505c6c9b40310bcff0ef55a3073300 (patch) | |
| tree | eab32d5ca0322fb083a1f18d4ad9321ee367d0ff /src/crypto/hash.rs | |
| parent | Merge pull request #96 from coyotebush/xts (diff) | |
| download | rust-openssl-5258ce6ece505c6c9b40310bcff0ef55a3073300.tar.xz rust-openssl-5258ce6ece505c6c9b40310bcff0ef55a3073300.zip | |
Move AES XTS support to a feature
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 b00dfba8..14dd34b5 100644 --- a/src/crypto/hash.rs +++ b/src/crypto/hash.rs @@ -122,7 +122,7 @@ mod tests { pub fn hash_writer(t: super::HashType, data: &[u8]) -> Vec<u8> { let mut h = super::Hasher::new(t); - h.write(data); + h.write(data).unwrap(); h.finalize() } |