diff options
author | Jack Lloyd <[email protected]> | 2018-09-25 17:08:02 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-09-25 17:08:02 -0400 |
commit | fc8f698516701bba4597ed4c586bf0c049a50de1 (patch) | |
tree | cd641317832894be384506140f48d5f0b8ae198a /src/fuzzer/pkcs8.cpp | |
parent | 6f3ce20c78e6a64dce12ba5d7589bc31e76c969e (diff) |
No need for an RNG object here [ci skip]
Diffstat (limited to 'src/fuzzer/pkcs8.cpp')
-rw-r--r-- | src/fuzzer/pkcs8.cpp | 3 |
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) { } |