diff options
author | Brian Warner <warner@lothar.com> | 2018-11-27 15:10:36 -0800 |
---|---|---|
committer | Brian Warner <warner@lothar.com> | 2018-11-27 15:10:36 -0800 |
commit | 4f43b8385fca31a7894dfce29d93c7bdd30d752a (patch) | |
tree | 5b61318d5ae2ac7e6595f3f30a22f8be669b0017 /srp | |
parent | ffa9e4e746f890ec744992f9a00e6e6e0b798922 (diff) | |
download | PAKEs-4f43b8385fca31a7894dfce29d93c7bdd30d752a.tar.xz |
deps: update to rand-0.6
Diffstat (limited to 'srp')
-rw-r--r-- | srp/Cargo.toml | 2 | ||||
-rw-r--r-- | srp/tests/mod.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/srp/Cargo.toml b/srp/Cargo.toml index ced32e7..65b47c0 100644 --- a/srp/Cargo.toml +++ b/srp/Cargo.toml @@ -16,7 +16,7 @@ digest = "0.8" lazy_static = "0.2" [dev-dependencies] -rand = "0.5" +rand = "0.6" sha2 = "0.8" sha-1 = "0.8" 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 |