Skip to content

Commit

Permalink
srp: update to rand-0.7
Browse files Browse the repository at this point in the history
This will also increase the MSRV to rust-1.32 or later.

refs RustCrypto#21
  • Loading branch information
warner committed Aug 7, 2019
1 parent 6d3662e commit 358b09f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion srp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ digest = "0.8"
lazy_static = "1.2"

[dev-dependencies]
rand = "0.6"
rand = "0.7"
sha2 = "0.8"
sha-1 = "0.8"

Expand Down
2 changes: 1 addition & 1 deletion srp/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use srp::groups::G_2048;
use srp::server::{SrpServer, UserRecord};

fn auth_test(reg_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
Expand Down

0 comments on commit 358b09f

Please sign in to comment.