aboutsummaryrefslogtreecommitdiffstats
path: root/src/x509stor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/x509stor.cpp')
-rw-r--r--src/x509stor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/x509stor.cpp b/src/x509stor.cpp
index 350cf965e..797f53e08 100644
--- a/src/x509stor.cpp
+++ b/src/x509stor.cpp
@@ -354,9 +354,9 @@ X509_Code X509_Store::check_sig(const Cert_Info& cert_info,
/*************************************************
* Check a CA's signature *
*************************************************/
-X509_Code X509_Store::check_sig(const X509_Object& object, X509_PublicKey* key)
+X509_Code X509_Store::check_sig(const X509_Object& object, Public_Key* key)
{
- std::auto_ptr<X509_PublicKey> pub_key(key);
+ std::auto_ptr<Public_Key> pub_key(key);
std::auto_ptr<PK_Verifier> verifier;
try {