aboutsummaryrefslogtreecommitdiffstats
path: root/src/fuzzer/pkcs8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fuzzer/pkcs8.cpp')
-rw-r--r--src/fuzzer/pkcs8.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fuzzer/pkcs8.cpp b/src/fuzzer/pkcs8.cpp
index 2d004633d..72a304649 100644
--- a/src/fuzzer/pkcs8.cpp
+++ b/src/fuzzer/pkcs8.cpp
@@ -15,8 +15,7 @@ void fuzz(const uint8_t in[], size_t len)
try
{
Botan::DataSource_Memory input(in, len);
- Botan::Null_RNG null_rng;
- std::unique_ptr<Botan::Private_Key> key(Botan::PKCS8::load_key(input, null_rng));
+ std::unique_ptr<Botan::Private_Key> key = Botan::PKCS8::load_key(input);
}
catch(Botan::Exception& e) { }