aboutsummaryrefslogtreecommitdiffstats
path: root/checks/x509.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'checks/x509.cpp')
-rw-r--r--checks/x509.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/checks/x509.cpp b/checks/x509.cpp
index 48cbd8384..92d9d43ed 100644
--- a/checks/x509.cpp
+++ b/checks/x509.cpp
@@ -94,7 +94,7 @@ void do_x509_tests()
/* Create user #1's key and cert request */
std::cout << '.' << std::flush;
- DSA_PrivateKey user1_key(DL_Group("dsa/jce/1024"), rng);
+ DSA_PrivateKey user1_key(rng, DL_Group("dsa/jce/1024"));
std::cout << '.' << std::flush;
PKCS10_Request user1_req = X509::create_cert_req(req_opts1(),