diff options
Diffstat (limited to 'src/tests/unit_x509.cpp')
-rw-r--r-- | src/tests/unit_x509.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/unit_x509.cpp b/src/tests/unit_x509.cpp index d6e7f6e90..0c469d319 100644 --- a/src/tests/unit_x509.cpp +++ b/src/tests/unit_x509.cpp @@ -7,7 +7,7 @@ #include "tests.h" #include <botan/filters.h> -#include <botan/auto_rng.h> + #if defined(BOTAN_HAS_RSA) #include <botan/rsa.h> @@ -131,7 +131,7 @@ u32bit check_against_copy(const Private_Key& orig, size_t test_x509() { - AutoSeeded_RNG rng; + auto& rng = test_rng(); const std::string hash_fn = "SHA-256"; size_t fails = 0; |