aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/cert/x509/x509_obj.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/cert/x509/x509_obj.cpp')
-rw-r--r--src/lib/cert/x509/x509_obj.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/cert/x509/x509_obj.cpp b/src/lib/cert/x509/x509_obj.cpp
index 983be40b2..25da0155e 100644
--- a/src/lib/cert/x509/x509_obj.cpp
+++ b/src/lib/cert/x509/x509_obj.cpp
@@ -197,7 +197,8 @@ bool X509_Object::check_signature(const Public_Key& pub_key) const
Signature_Format format =
(pub_key.message_parts() >= 2) ? DER_SEQUENCE : IEEE_1363;
- PK_Verifier verifier(pub_key, padding, format);
+ Null_RNG null_rng;
+ PK_Verifier verifier(pub_key, null_rng, padding, format);
return verifier.verify_message(tbs_data(), signature());
}