aboutsummaryrefslogtreecommitdiffstats
path: root/src/ssl/hello.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ssl/hello.cpp')
-rw-r--r--src/ssl/hello.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssl/hello.cpp b/src/ssl/hello.cpp
index c3e89c6cf..53f680fba 100644
--- a/src/ssl/hello.cpp
+++ b/src/ssl/hello.cpp
@@ -174,7 +174,7 @@ Server_Hello::Server_Hello(RandomNumberGenerator& rng,
bool have_rsa = false, have_dsa = false;
for(u32bit j = 0; j != certs.size(); j++)
{
- X509_PublicKey* key = certs[j].subject_public_key();
+ Public_Key* key = certs[j].subject_public_key();
if(key->algo_name() == "RSA") have_rsa = true;
if(key->algo_name() == "DSA") have_dsa = true;
}