aboutsummaryrefslogtreecommitdiffstats
path: root/src/ssl/cert_ver.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-02-16 23:32:21 +0000
committerlloyd <[email protected]>2010-02-16 23:32:21 +0000
commit6a2f1e84538afed55f92eb9550f886a51301a84c (patch)
tree498c3804d684e8f7f4ad0a423c2ba92310679c8f /src/ssl/cert_ver.cpp
parente30f46ad200bd724caf72ccbf74bc416e1612b47 (diff)
Remove use of old PKCS8_ and X509_ typedefs
Diffstat (limited to 'src/ssl/cert_ver.cpp')
-rw-r--r--src/ssl/cert_ver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ssl/cert_ver.cpp b/src/ssl/cert_ver.cpp
index 8fccb7508..5ac28dd2e 100644
--- a/src/ssl/cert_ver.cpp
+++ b/src/ssl/cert_ver.cpp
@@ -20,7 +20,7 @@ namespace Botan {
Certificate_Verify::Certificate_Verify(RandomNumberGenerator& rng,
Record_Writer& writer,
HandshakeHash& hash,
- const PKCS8_PrivateKey* priv_key)
+ const Private_Key* priv_key)
{
const PK_Signing_Key* sign_key =
dynamic_cast<const PK_Signing_Key*>(priv_key);
@@ -88,7 +88,7 @@ bool Certificate_Verify::verify(const X509_Certificate& cert,
{
// FIXME: duplicate of Server_Key_Exchange::verify
- std::auto_ptr<X509_PublicKey> key(cert.subject_public_key());
+ std::auto_ptr<Public_Key> key(cert.subject_public_key());
DSA_PublicKey* dsa_pub = dynamic_cast<DSA_PublicKey*>(key.get());
RSA_PublicKey* rsa_pub = dynamic_cast<RSA_PublicKey*>(key.get());