diff options
| author | Steven Fackler <[email protected]> | 2014-05-23 19:57:23 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2014-05-23 19:57:23 -0700 |
| commit | c0a964fc7b5f47c47ccf6fa59cb440f5e9bbf99b (patch) | |
| tree | 62a9975907dd1125eccb22a60733ff8fe23d0908 /crypto | |
| parent | Update travis.yaml to use nightlies (diff) | |
| parent | Update syntax to pass the test (diff) | |
| download | rust-openssl-c0a964fc7b5f47c47ccf6fa59cb440f5e9bbf99b.tar.xz rust-openssl-c0a964fc7b5f47c47ccf6fa59cb440f5e9bbf99b.zip | |
Merge pull request #14 from iseki-masaya/update-syntax
Update syntax to pass the tests
Diffstat (limited to 'crypto')
| -rw-r--r-- | crypto/hash.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/hash.rs b/crypto/hash.rs index e3182b1b..8dd581c7 100644 --- a/crypto/hash.rs +++ b/crypto/hash.rs @@ -119,7 +119,7 @@ mod tests { fn hash_test(hashtype: super::HashType, hashtest: &HashTest) { let calced_raw = super::hash(hashtype, hashtest.input.as_slice()); - let calced = calced_raw.as_slice().to_hex(); + let calced = calced_raw.as_slice().to_hex().into_owned(); if calced != hashtest.expected_output { println!("Test failed - {} != {}", calced, hashtest.expected_output); |