From 76774c5ea1a7abeef79a9b0fc2bbb39acff96aae Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 28 Dec 2009 00:31:16 +0000 Subject: [PATCH] return v1.1 methods for client/server --- ssl/s23_clnt.c | 2 ++ ssl/s23_meth.c | 2 ++ 2 files changed, 4 insertions(+) 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); -- 2.40.0