aboutsummaryrefslogtreecommitdiffstats
path: root/src/pkcs10.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkcs10.cpp')
-rw-r--r--src/pkcs10.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkcs10.cpp b/src/pkcs10.cpp
index 57d88d4af..6803a7165 100644
--- a/src/pkcs10.cpp
+++ b/src/pkcs10.cpp
@@ -144,7 +144,7 @@ MemoryVector<byte> PKCS10_Request::raw_public_key() const
/*************************************************
* Return the public key of the requestor *
*************************************************/
-X509_PublicKey* PKCS10_Request::subject_public_key() const
+Public_Key* PKCS10_Request::subject_public_key() const
{
DataSource_Memory source(info.get1("X509.Certificate.public_key"));
return X509::load_key(source);