diff options
Diffstat (limited to 'src/tls/s_kex.cpp')
-rw-r--r-- | src/tls/s_kex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/s_kex.cpp b/src/tls/s_kex.cpp index f25205e99..6a5cdfa33 100644 --- a/src/tls/s_kex.cpp +++ b/src/tls/s_kex.cpp @@ -210,7 +210,7 @@ MemoryVector<byte> Server_Key_Exchange::serialize() const bool Server_Key_Exchange::verify(const X509_Certificate& cert, Handshake_State* state) const { - 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(), m_hash_algo, m_sig_algo, false); |