diff options
author | lloyd <[email protected]> | 2014-12-28 13:23:40 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-12-28 13:23:40 +0000 |
commit | 6322dc69fcf9f3effed4e51de90b3f5b163db47e (patch) | |
tree | 6cc5a7b12b5a6648f53b4b22003f9a28b425d1fa /src/tests/unit_ecdsa.cpp | |
parent | 69d883e83569dd81f02fbbd7dfbdcfc5a3918d49 (diff) |
All tests now share an RNG. Uses system RNG if available
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) |