diff options
| author | Kevin Ballard <[email protected]> | 2013-05-29 23:42:07 -0700 |
|---|---|---|
| committer | Kevin Ballard <[email protected]> | 2013-05-29 23:42:07 -0700 |
| commit | 2eba04e579048bb33a7a99cb738d5d9118909026 (patch) | |
| tree | 624777ef967533e7fcb40575a55de4058a37ee68 /hash.rs | |
| parent | Update for current incoming (diff) | |
| download | rust-openssl-2eba04e579048bb33a7a99cb738d5d9118909026.tar.xz rust-openssl-2eba04e579048bb33a7a99cb738d5d9118909026.zip | |
Update for latest incoming (3a3bf8b)
Diffstat (limited to 'hash.rs')
| -rw-r--r-- | hash.rs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,5 @@ use std::libc::c_uint; +use std::{libc,vec,ptr}; pub enum HashType { MD5, @@ -108,6 +109,7 @@ mod tests { use super::*; use hex::FromHex; use hex::ToHex; + use std::vec; struct HashTest { input: ~[u8], @@ -125,7 +127,7 @@ mod tests { let calced = calced_raw.to_hex(); if calced != hashtest.expected_output { - io::println(fmt!("Test failed - %s != %s", calced, hashtest.expected_output)); + println(fmt!("Test failed - %s != %s", calced, hashtest.expected_output)); } assert!(calced == hashtest.expected_output); |