aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/hash.rs
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2014-11-16 13:57:05 -0800
committerSteven Fackler <[email protected]>2014-11-16 14:01:24 -0800
commit5258ce6ece505c6c9b40310bcff0ef55a3073300 (patch)
treeeab32d5ca0322fb083a1f18d4ad9321ee367d0ff /src/crypto/hash.rs
parentMerge pull request #96 from coyotebush/xts (diff)
downloadrust-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.rs2
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()
}