aboutsummaryrefslogtreecommitdiffstats
path: root/src/ssl/s_kex.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-13 15:04:52 +0000
committerlloyd <[email protected]>2010-10-13 15:04:52 +0000
commitfc4c8f57baa06cfc9073ce83a5e3d1547bea86c0 (patch)
tree569e6b94f20fd71085c7eaeafe92b051697da613 /src/ssl/s_kex.cpp
parent30a71cfa8d2d4c78e3a2b9f4c394b652f457e1f2 (diff)
parent6e85766cf001183e160c8ca2c0ed3eb40f07125c (diff)
propagate from branch 'net.randombit.botan' (head 0b2a6834cd19e431afc91bd062b0b455d6d035ac)
to branch 'net.randombit.botan.c++0x' (head fbb6dc287edf127cc84fc29f9d8477769d5cfd7f)
Diffstat (limited to 'src/ssl/s_kex.cpp')
-rw-r--r--src/ssl/s_kex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssl/s_kex.cpp b/src/ssl/s_kex.cpp
index f9a595fe9..d74609152 100644
--- a/src/ssl/s_kex.cpp
+++ b/src/ssl/s_kex.cpp
@@ -150,7 +150,7 @@ bool Server_Key_Exchange::verify(const X509_Certificate& cert,
const MemoryRegion<byte>& s_random) const
{
- std::auto_ptr<Public_Key> key(cert.subject_public_key());
+ std::unique_ptr<Public_Key> key(cert.subject_public_key());
std::string padding = "";
Signature_Format format = IEEE_1363;