return v1.1 methods for client/server
authorDr. Stephen Henson <steve@openssl.org>
Mon, 28 Dec 2009 00:31:16 +0000 (00:31 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 28 Dec 2009 00:31:16 +0000 (00:31 +0000)
ssl/s23_clnt.c
ssl/s23_meth.c

index bacf97c..b2a3eb0 100644 (file)
@@ -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);
        }
index c6099ef..a2b4b22 100644 (file)
@@ -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);