aboutsummaryrefslogtreecommitdiff
path: root/pkcs5.rs
diff options
context:
space:
mode:
authorKevin Ballard <[email protected]>2013-05-29 23:42:07 -0700
committerKevin Ballard <[email protected]>2013-05-29 23:42:07 -0700
commit2eba04e579048bb33a7a99cb738d5d9118909026 (patch)
tree624777ef967533e7fcb40575a55de4058a37ee68 /pkcs5.rs
parentUpdate for current incoming (diff)
downloadrust-openssl-2eba04e579048bb33a7a99cb738d5d9118909026.tar.xz
rust-openssl-2eba04e579048bb33a7a99cb738d5d9118909026.zip
Update for latest incoming (3a3bf8b)
Diffstat (limited to 'pkcs5.rs')
-rw-r--r--pkcs5.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkcs5.rs b/pkcs5.rs
index c43999ee..bd122c43 100644
--- a/pkcs5.rs
+++ b/pkcs5.rs
@@ -1,4 +1,5 @@
use std::libc::c_int;
+use std::{vec,str};
#[link_args = "-lcrypto"]
#[abi = "cdecl"]
@@ -43,6 +44,7 @@ pub fn pbkdf2_hmac_sha1(pass: &str, salt: &[u8], iter: uint,
#[cfg(test)]
mod tests {
use super::*;
+ use std::str;
// Test vectors from
// http://tools.ietf.org/html/draft-josefsson-pbkdf2-test-vectors-06