diff options
author | lloyd <[email protected]> | 2010-03-09 04:14:30 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-09 04:14:30 +0000 |
commit | ac0ec9b832a337c91cb451e0b8d12b77fa27a20c (patch) | |
tree | 0c5e95abcf4be37bc84174120303c2a5166d50c0 /src/ssl | |
parent | cdcd3a9aba28cefcccb64f91fb56d3847f6c9130 (diff) |
Various updates: unique_ptr, using chrono, merge fixups, etc
Diffstat (limited to 'src/ssl')
-rw-r--r-- | src/ssl/cert_ver.cpp | 2 | ||||
-rw-r--r-- | src/ssl/s_kex.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ssl/cert_ver.cpp b/src/ssl/cert_ver.cpp index 7e17dbfab..0bf6c85be 100644 --- a/src/ssl/cert_ver.cpp +++ b/src/ssl/cert_ver.cpp @@ -80,7 +80,7 @@ bool Certificate_Verify::verify(const X509_Certificate& cert, { // FIXME: duplicate of Server_Key_Exchange::verify - 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; diff --git a/src/ssl/s_kex.cpp b/src/ssl/s_kex.cpp index 94b17cb7e..3223adc5b 100644 --- a/src/ssl/s_kex.cpp +++ b/src/ssl/s_kex.cpp @@ -157,7 +157,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; |