aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/x509self.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/x509self.cpp b/src/x509self.cpp
index 3a80eb263..b86502eed 100644
--- a/src/x509self.cpp
+++ b/src/x509self.cpp
@@ -177,7 +177,8 @@ PKCS10_Request create_cert_req(const X509_Cert_Options& opts,
.end_cons();
DataSource_Memory source(
- X509_Object::make_signed(signer, sig_algo, tbs_req.get_contents())
+ X509_Object::make_signed(signer.get(), sig_algo,
+ tbs_req.get_contents())
);
return PKCS10_Request(source);