aboutsummaryrefslogtreecommitdiff
path: root/src/crypto
diff options
context:
space:
mode:
authorAlex Crichton <[email protected]>2014-12-23 08:14:42 -0800
committerAlex Crichton <[email protected]>2014-12-23 08:14:42 -0800
commit7774e672a2c190dcf7a594882620b1fb607a3c13 (patch)
treec7bf75b5287c6bcec27ab9caec3395f522e90f88 /src/crypto
parentRelease v0.2.7 (diff)
downloadrust-openssl-7774e672a2c190dcf7a594882620b1fb607a3c13.tar.xz
rust-openssl-7774e672a2c190dcf7a594882620b1fb607a3c13.zip
Update to rust master
Diffstat (limited to 'src/crypto')
-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 37573368..2a181526 100644
--- a/src/crypto/hash.rs
+++ b/src/crypto/hash.rs
@@ -135,7 +135,7 @@ mod tests {
}
fn compare(calced_raw: Vec<u8>, hashtest: &HashTest) {
- let calced = calced_raw.as_slice().to_hex().into_string();
+ let calced = calced_raw.as_slice().to_hex().to_string();
if calced != hashtest.expected_output {
println!("Test failed - {} != {}", calced, hashtest.expected_output);