aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/x509self.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/x509self.h b/include/x509self.h
index 8f3308492..2f83a12be 100644
--- a/include/x509self.h
+++ b/include/x509self.h
@@ -56,14 +56,17 @@ namespace X509 {
/*************************************************
* Create a self-signed X.509 certificate *
*************************************************/
-BOTAN_DLL X509_Certificate create_self_signed_cert(const X509_Cert_Options&,
- const Private_Key&);
+BOTAN_DLL X509_Certificate
+create_self_signed_cert(const X509_Cert_Options&,
+ const Private_Key&,
+ RandomNumberGenerator& rng);
/*************************************************
* Create a PKCS #10 certificate request *
*************************************************/
BOTAN_DLL PKCS10_Request create_cert_req(const X509_Cert_Options&,
- const Private_Key&);
+ const Private_Key&,
+ RandomNumberGenerator& rng);
}