diff options
Diffstat (limited to 'src/lib/cert/x509/ocsp.cpp')
-rw-r--r-- | src/lib/cert/x509/ocsp.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/cert/x509/ocsp.cpp b/src/lib/cert/x509/ocsp.cpp index fb6234cc8..761c5b436 100644 --- a/src/lib/cert/x509/ocsp.cpp +++ b/src/lib/cert/x509/ocsp.cpp @@ -61,8 +61,7 @@ void check_signature(const std::vector<byte>& tbs_response, Signature_Format format = (pub_key->message_parts() >= 2) ? DER_SEQUENCE : IEEE_1363; - Null_RNG null_rng; - PK_Verifier verifier(*pub_key, null_rng, padding, format); + PK_Verifier verifier(*pub_key, padding, format); if(!verifier.verify_message(ASN1::put_in_sequence(tbs_response), signature)) throw Exception("Signature on OCSP response does not verify"); |