From 845d40bd4c9d37bcd2c79541123fed044e66c2f8 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 11 Jun 2008 01:25:32 +0000 Subject: X509_CA::{new_crl,update_crl} take a RandomNumberGenerator reference --- include/x509_ca.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/x509_ca.h b/include/x509_ca.h index 7d4e21748..969e62558 100644 --- a/include/x509_ca.h +++ b/include/x509_ca.h @@ -28,8 +28,10 @@ class BOTAN_DLL X509_CA X509_Certificate ca_certificate() const; - X509_CRL new_crl(u32bit = 0) const; - X509_CRL update_crl(const X509_CRL&, const std::vector&, + X509_CRL new_crl(RandomNumberGenerator& rng, u32bit = 0) const; + X509_CRL update_crl(const X509_CRL&, + const std::vector&, + RandomNumberGenerator& rng, u32bit = 0) const; static X509_Certificate make_cert(PK_Signer*, @@ -46,7 +48,8 @@ class BOTAN_DLL X509_CA X509_CA(const X509_CA&) {} X509_CA& operator=(const X509_CA&) { return (*this); } - X509_CRL make_crl(const std::vector&, u32bit, u32bit) const; + X509_CRL make_crl(const std::vector&, + u32bit, u32bit, RandomNumberGenerator&) const; AlgorithmIdentifier ca_sig_algo; X509_Certificate cert; -- cgit v1.2.3