aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-06-11 01:25:32 +0000
committerlloyd <[email protected]>2008-06-11 01:25:32 +0000
commit845d40bd4c9d37bcd2c79541123fed044e66c2f8 (patch)
treeeda9839f00ebdb0278c0650538292ffdb65f71c6 /include
parent4416c1a5dfa4a6dc71ec15107de290b3d5606bb1 (diff)
X509_CA::{new_crl,update_crl} take a RandomNumberGenerator reference
Diffstat (limited to 'include')
-rw-r--r--include/x509_ca.h9
1 files changed, 6 insertions, 3 deletions
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<CRL_Entry>&,
+ X509_CRL new_crl(RandomNumberGenerator& rng, u32bit = 0) const;
+ X509_CRL update_crl(const X509_CRL&,
+ const std::vector<CRL_Entry>&,
+ 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<CRL_Entry>&, u32bit, u32bit) const;
+ X509_CRL make_crl(const std::vector<CRL_Entry>&,
+ u32bit, u32bit, RandomNumberGenerator&) const;
AlgorithmIdentifier ca_sig_algo;
X509_Certificate cert;