aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_srp6.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_srp6.cpp')
-rw-r--r--src/tests/test_srp6.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/test_srp6.cpp b/src/tests/test_srp6.cpp
index a25d857a2..8c84709cd 100644
--- a/src/tests/test_srp6.cpp
+++ b/src/tests/test_srp6.cpp
@@ -103,7 +103,8 @@ class SRP6_RT_Tests final : public Test
const std::string group_id = "modp/srp/1024";
const std::string hash_id = "SHA-256";
- const std::vector<uint8_t> salt = unlock(Test::rng().random_vec(16));
+ std::vector<uint8_t> salt;
+ Test::rng().random_vec(salt, 16);
const Botan::BigInt verifier = Botan::generate_srp6_verifier(username, password, salt, group_id, hash_id);