aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/cert_ver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls/cert_ver.cpp')
-rw-r--r--src/tls/cert_ver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/cert_ver.cpp b/src/tls/cert_ver.cpp
index 73acf3de1..0a377b35f 100644
--- a/src/tls/cert_ver.cpp
+++ b/src/tls/cert_ver.cpp
@@ -93,7 +93,7 @@ MemoryVector<byte> Certificate_Verify::serialize() const
bool Certificate_Verify::verify(const X509_Certificate& cert,
Handshake_State* state)
{
- std::auto_ptr<Public_Key> key(cert.subject_public_key());
+ std::unique_ptr<Public_Key> key(cert.subject_public_key());
std::pair<std::string, Signature_Format> format =
state->understand_sig_format(key.get(), hash_algo, sig_algo, true);