diff options
author | lloyd <[email protected]> | 2012-02-20 18:33:49 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-02-20 18:33:49 +0000 |
commit | 7fb2de6b49d8bf42ede7b4dfda7c358bb67e5c9f (patch) | |
tree | 32319c62e13572276b52c467e4c53d4646de6cc9 /src/tls/tls_version.cpp | |
parent | 8c2dc1a6c3bf352a56622d569dc855ca8d6ab5e0 (diff) |
Merge fixups. Add locking to default session manager. Use chrono lib
and unique_ptr.
Diffstat (limited to 'src/tls/tls_version.cpp')
-rw-r--r-- | src/tls/tls_version.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tls/tls_version.cpp b/src/tls/tls_version.cpp index 4445998eb..82dce0be9 100644 --- a/src/tls/tls_version.cpp +++ b/src/tls/tls_version.cpp @@ -19,13 +19,13 @@ std::string Protocol_Version::to_string() const // Some very new or very old protocol? if(maj != 3) - return "Protocol " + Botan::to_string(maj) + "." + Botan::to_string(min); + return "Protocol " + std::to_string(maj) + "." + std::to_string(min); if(maj == 3 && min == 0) return "SSL v3"; // The TLS v1.[0123...] case - return "TLS v1." + Botan::to_string(min-1); + return "TLS v1." + std::to_string(min-1); } } |