diff options
Diffstat (limited to 'src/tests/test_passhash.cpp')
-rw-r--r-- | src/tests/test_passhash.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/test_passhash.cpp b/src/tests/test_passhash.cpp index 6f66743c5..57b9f6452 100644 --- a/src/tests/test_passhash.cpp +++ b/src/tests/test_passhash.cpp @@ -1,6 +1,6 @@ #include "tests.h" -#include <botan/auto_rng.h> + #include <iostream> #if defined(BOTAN_HAS_PASSHASH9) @@ -34,7 +34,7 @@ size_t test_bcrypt() fails++; } - AutoSeeded_RNG rng; + auto& rng = test_rng(); for(u16bit level = 1; level != 5; ++level) { @@ -73,7 +73,7 @@ size_t test_passhash9() fails++; } - AutoSeeded_RNG rng; + auto& rng = test_rng(); for(byte alg_id = 0; alg_id <= 4; ++alg_id) { |