From: Dr. Stephen Henson Date: Mon, 28 Dec 2009 00:31:16 +0000 (+0000) Subject: return v1.1 methods for client/server X-Git-Tag: OpenSSL-fips-2_0-rc1~1379 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=76774c5ea1a7abeef79a9b0fc2bbb39acff96aae;p=openssl return v1.1 methods for client/server --- diff --git a/ssl/s23_clnt.c b/ssl/s23_clnt.c index bacf97c265..b2a3eb02fb 100644 --- a/ssl/s23_clnt.c +++ b/ssl/s23_clnt.c @@ -129,6 +129,8 @@ static const SSL_METHOD *ssl23_get_client_method(int ver) return(SSLv3_client_method()); else if (ver == TLS1_VERSION) return(TLSv1_client_method()); + else if (ver == TLS1_1_VERSION) + return(TLSv1_1_client_method()); else return(NULL); } diff --git a/ssl/s23_meth.c b/ssl/s23_meth.c index c6099efcf7..a2b4b224b1 100644 --- a/ssl/s23_meth.c +++ b/ssl/s23_meth.c @@ -76,6 +76,8 @@ static const SSL_METHOD *ssl23_get_method(int ver) #ifndef OPENSSL_NO_TLS1 if (ver == TLS1_VERSION) return(TLSv1_method()); + else if (ver == TLS1_1_VERSION) + return(TLSv1_1_method()); else #endif return(NULL);