diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-12-28 00:31:16 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-12-28 00:31:16 +0000 |
commit | 76774c5ea1a7abeef79a9b0fc2bbb39acff96aae (patch) | |
tree | 4fa51eac167f5c80f4e4bd308f0a8c3343ad0b35 /ssl | |
parent | 35b0ea4efe24dee3194964588655d1a3187c6e63 (diff) |
return v1.1 methods for client/server
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/s23_clnt.c | 2 | ||||
-rw-r--r-- | ssl/s23_meth.c | 2 |
2 files changed, 4 insertions, 0 deletions
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); |