aboutsummaryrefslogtreecommitdiff
path: root/srp/tests/mod.rs
diff options
context:
space:
mode:
authorBrian Warner <warner@lothar.com>2018-11-27 15:10:36 -0800
committerBrian Warner <warner@lothar.com>2018-11-27 15:10:36 -0800
commit4f43b8385fca31a7894dfce29d93c7bdd30d752a (patch)
tree5b61318d5ae2ac7e6595f3f30a22f8be669b0017 /srp/tests/mod.rs
parentffa9e4e746f890ec744992f9a00e6e6e0b798922 (diff)
downloadPAKEs-4f43b8385fca31a7894dfce29d93c7bdd30d752a.tar.xz
deps: update to rand-0.6
Diffstat (limited to 'srp/tests/mod.rs')
-rw-r--r--srp/tests/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/srp/tests/mod.rs b/srp/tests/mod.rs
index 40ba5c6..c410d69 100644
--- a/srp/tests/mod.rs
+++ b/srp/tests/mod.rs
@@ -11,7 +11,7 @@ use srp::groups::G_2048;
use srp::server::{SrpServer, UserRecord};
fn auth_test(reg_pwd: &[u8], auth_pwd: &[u8]) {
- let mut rng = rand::os::OsRng::new().unwrap();
+ let mut rng = rand::rngs::OsRng::new().unwrap();
let username = b"alice";
// Client instance creation