aboutsummaryrefslogtreecommitdiffstats
path: root/checks/x509.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'checks/x509.cpp')
-rw-r--r--checks/x509.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/checks/x509.cpp b/checks/x509.cpp
index 30c4dbd53..7fa605411 100644
--- a/checks/x509.cpp
+++ b/checks/x509.cpp
@@ -117,7 +117,7 @@ void do_x509_tests()
X509_Time("2100-01-01"));
std::cout << '.' << std::flush;
- X509_CRL crl1 = ca.new_crl();
+ X509_CRL crl1 = ca.new_crl(rng);
/* Verify the certs */
X509_Store store;
@@ -137,7 +137,7 @@ void do_x509_tests()
std::vector<CRL_Entry> revoked;
revoked.push_back(user2_cert);
- X509_CRL crl2 = ca.update_crl(crl1, revoked);
+ X509_CRL crl2 = ca.update_crl(crl1, revoked, rng);
if(store.add_crl(crl2) != VERIFIED)
std::cout << "\nFAILED: CRL #2 did not validate" << std::endl;