diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-05-22 01:58:32 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-05-22 01:58:32 -0400 |
commit | c272cfc4241f2c19fd948202caf0328b172958c4 (patch) | |
tree | 4263985c3e1f14ae25f63823b60d3fe0737ef55e /tests | |
parent | 8cc9f7dbcd1bb27848786afd94ff1d2199a231a6 (diff) | |
download | matasano-c272cfc4241f2c19fd948202caf0328b172958c4.tar.gz matasano-c272cfc4241f2c19fd948202caf0328b172958c4.zip |
refactor to allow for multiple client implementations
Diffstat (limited to 'tests')
-rw-r--r-- | tests/set5.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/set5.rs b/tests/set5.rs index 6aa089a..66d2420 100644 --- a/tests/set5.rs +++ b/tests/set5.rs @@ -1,3 +1,4 @@ +use matasano::SRPClient; use rand::Rng; #[test] @@ -251,7 +252,7 @@ fn problem_36() { let pass = "supersecret"; let mut server = matasano::SRPServer::new(n, g, k); - let mut client = matasano::SRPClient::new(&mut server); + let mut client = matasano::CorrectSRPClient::new(&mut server); client.register(user, pass); |