aboutsummaryrefslogtreecommitdiff
path: root/rand.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 /rand.rs
parentUpdate for current incoming (diff)
downloadrust-openssl-2eba04e579048bb33a7a99cb738d5d9118909026.tar.xz
rust-openssl-2eba04e579048bb33a7a99cb738d5d9118909026.zip
Update for latest incoming (3a3bf8b)
Diffstat (limited to 'rand.rs')
-rw-r--r--rand.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/rand.rs b/rand.rs
index e4cf2d1a..74d88952 100644
--- a/rand.rs
+++ b/rand.rs
@@ -1,4 +1,5 @@
use std::libc::c_int;
+use std::vec;
#[link_args = "-lcrypto"]
#[abi = "cdecl"]
@@ -28,6 +29,6 @@ mod tests {
#[test]
fn test_rand_bytes() {
let bytes = rand_bytes(32u);
- io::println(fmt!("%?", bytes));
+ println(fmt!("%?", bytes));
}
}