diff options
Diffstat (limited to 'src/extra_tests/fuzzers/jigs/pkcs8.cpp')
-rw-r--r-- | src/extra_tests/fuzzers/jigs/pkcs8.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/extra_tests/fuzzers/jigs/pkcs8.cpp b/src/extra_tests/fuzzers/jigs/pkcs8.cpp index 69e2c193f..47c0068ad 100644 --- a/src/extra_tests/fuzzers/jigs/pkcs8.cpp +++ b/src/extra_tests/fuzzers/jigs/pkcs8.cpp @@ -6,15 +6,13 @@ #include "driver.h" #include <botan/pkcs8.h> -#include <botan/system_rng.h> void fuzz(const uint8_t in[], size_t len) { try { - System_RNG rng; DataSource_Memory input(in, len); - std::unique_ptr<Private_Key> key(PKCS8::load_key(input, rng)); + std::unique_ptr<Private_Key> key(PKCS8::load_key(input, fuzzer_rng())); } catch(Botan::Exception& e) { } } |