diff options
author | lloyd <[email protected]> | 2012-01-19 18:14:20 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-01-19 18:14:20 +0000 |
commit | 265cf8e312723e688f4dbc8e4d90e0eae5445c97 (patch) | |
tree | 4532f1435286ad17cc3752ba77b71e59af622bbf /doc | |
parent | 239241568d4d3ff14d2d1994e5829f3d548f2078 (diff) |
Kinda maybe working TLS 1.2 for clients. Not well tested at all, but a
basic connection with a GnuTLS server does work. Currently we don't
respect the signature_algorithms extension at all, and using SHA-256
with a 12-byte finished value is hardcoded though the spec is that it
can depend on the ciphersuite (likely relevant for GOST ciphersuites
in particular).
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/tls_client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/tls_client.cpp b/doc/examples/tls_client.cpp index a23332f22..29a5414e1 100644 --- a/doc/examples/tls_client.cpp +++ b/doc/examples/tls_client.cpp @@ -23,7 +23,7 @@ using namespace std::tr1::placeholders; class Client_TLS_Policy : public TLS_Policy { public: - Version_Code pref_version() const { return SSL_V3; } + Version_Code pref_version() const { return TLS_V12; } bool check_cert(const std::vector<X509_Certificate>& certs) const { |