aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/pkcs10.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/pkcs10.cpp')
-rw-r--r--doc/examples/pkcs10.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/pkcs10.cpp b/doc/examples/pkcs10.cpp
index d719baf72..d9fa9accb 100644
--- a/doc/examples/pkcs10.cpp
+++ b/doc/examples/pkcs10.cpp
@@ -59,7 +59,7 @@ int main(int argc, char* argv[])
opts.xmpp = "[email protected]";
- PKCS10_Request req = X509::create_cert_req(opts, priv_key, rng);
+ PKCS10_Request req = X509::create_cert_req(opts, priv_key, "SHA-1", rng);
std::ofstream req_file("req.pem");
req_file << req.PEM_encode();