aboutsummaryrefslogtreecommitdiff
path: root/srp
diff options
context:
space:
mode:
Diffstat (limited to 'srp')
-rw-r--r--srp/Cargo.toml2
-rw-r--r--srp/tests/mod.rs2
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