diff options
Diffstat (limited to 'src/tests/unit_ecdsa.cpp')
-rw-r--r-- | src/tests/unit_ecdsa.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/unit_ecdsa.cpp b/src/tests/unit_ecdsa.cpp index 7a2e844e4..f0107c55d 100644 --- a/src/tests/unit_ecdsa.cpp +++ b/src/tests/unit_ecdsa.cpp @@ -10,7 +10,7 @@ #if defined(BOTAN_HAS_ECDSA) #include <botan/hex.h> -#include <botan/auto_rng.h> + #include <botan/pubkey.h> #include <botan/ecdsa.h> #include <botan/rsa.h> @@ -473,7 +473,7 @@ size_t test_ecdsa_unit() { size_t fails = 0; - AutoSeeded_RNG rng; + auto& rng = test_rng(); fails += test_hash_larger_than_n(rng); #if defined(BOTAN_HAS_X509_CERTIFICATES) |