From 7409d7ad517650db332ae528915a570e4e0ab88b Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 29 Apr 2011 22:56:51 +0000 Subject: Initial incomplete TLS v1.2 support. New ciphersuites added, new version checking added, SHA256 PRF support added. At present only RSA key exchange ciphersuites work with TLS v1.2 as the new signature format is not yet implemented. --- ssl/t1_clnt.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ssl/t1_clnt.c') diff --git a/ssl/t1_clnt.c b/ssl/t1_clnt.c index b06bada6f2..578617ed84 100644 --- a/ssl/t1_clnt.c +++ b/ssl/t1_clnt.c @@ -66,6 +66,8 @@ static const SSL_METHOD *tls1_get_client_method(int ver); static const SSL_METHOD *tls1_get_client_method(int ver) { + if (ver == TLS1_2_VERSION) + return TLSv1_2_client_method(); if (ver == TLS1_1_VERSION) return TLSv1_1_client_method(); if (ver == TLS1_VERSION) @@ -73,6 +75,11 @@ static const SSL_METHOD *tls1_get_client_method(int ver) return NULL; } +IMPLEMENT_tls_meth_func(TLS1_2_VERSION, TLSv1_2_client_method, + ssl_undefined_function, + ssl3_connect, + tls1_get_client_method) + IMPLEMENT_tls_meth_func(TLS1_1_VERSION, TLSv1_1_client_method, ssl_undefined_function, ssl3_connect, -- cgit v1.2.3