diff options
author | lloyd <[email protected]> | 2008-06-11 01:25:32 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-06-11 01:25:32 +0000 |
commit | 845d40bd4c9d37bcd2c79541123fed044e66c2f8 (patch) | |
tree | eda9839f00ebdb0278c0650538292ffdb65f71c6 /checks/x509.cpp | |
parent | 4416c1a5dfa4a6dc71ec15107de290b3d5606bb1 (diff) |
X509_CA::{new_crl,update_crl} take a RandomNumberGenerator reference
Diffstat (limited to 'checks/x509.cpp')
-rw-r--r-- | checks/x509.cpp | 4 |
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; |