diff options
author | Tony Arcieri <bascule@gmail.com> | 2022-11-30 08:48:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-30 08:48:57 -0700 |
commit | 2ff85f0c5ca5651b814049b719447aa5b40b0ca7 (patch) | |
tree | 8a8227b275c6b29ad15f461dd69a3b313a97b365 /srp | |
parent | 179fadb7fda45cad53fe39d5844e073ca9c73b99 (diff) | |
download | PAKEs-2ff85f0c5ca5651b814049b719447aa5b40b0ca7.tar.xz |
srp: bump `rand` to v0.8 (#113)
It's under `dev-dependencies` and used for tests.
Diffstat (limited to 'srp')
-rw-r--r-- | srp/Cargo.toml | 2 | ||||
-rw-r--r-- | srp/tests/srp.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/srp/Cargo.toml b/srp/Cargo.toml index 28f02af..29a7a9a 100644 --- a/srp/Cargo.toml +++ b/srp/Cargo.toml @@ -22,6 +22,6 @@ subtle = "2.4" [dev-dependencies] hex-literal = "0.3" num-traits = "0.2" -rand = "0.6" +rand = "0.8" sha1 = "0.10" sha2 = "0.10" diff --git a/srp/tests/srp.rs b/srp/tests/srp.rs index b59a4dd..1cedd67 100644 --- a/srp/tests/srp.rs +++ b/srp/tests/srp.rs @@ -6,7 +6,7 @@ use srp::groups::G_2048; use srp::server::SrpServer; fn auth_test(true_pwd: &[u8], auth_pwd: &[u8]) { - let mut rng = rand::rngs::OsRng::new().unwrap(); + let mut rng = rand::rngs::OsRng; let username = b"alice"; // Client instance creation |