aboutsummaryrefslogtreecommitdiffstats
path: root/src/x509cert.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/x509cert.cpp')
-rw-r--r--src/x509cert.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x509cert.cpp b/src/x509cert.cpp
index dd919e509..4a1152cf5 100644
--- a/src/x509cert.cpp
+++ b/src/x509cert.cpp
@@ -186,7 +186,7 @@ X509_Certificate::issuer_info(const std::string& what) const
/*************************************************
* Return the public key in this certificate *
*************************************************/
-X509_PublicKey* X509_Certificate::subject_public_key() const
+Public_Key* X509_Certificate::subject_public_key() const
{
DataSource_Memory source(subject.get1("X509.Certificate.public_key"));
return X509::load_key(source);