X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=ssl%2Fs23_meth.c;h=40eae0f0be624868f85f7cfb471aa80a32f5e368;hb=29113688a1b56d92a6e8dd50faa186751d2b2e96;hp=c6099efcf75726b72b1b47d83a03c21d8b81bb4a;hpb=0d0ed9187a48797b867e0ffc32b3ea9c5cc30639;p=openssl.git diff --git a/ssl/s23_meth.c b/ssl/s23_meth.c index c6099efcf7..40eae0f0be 100644 --- a/ssl/s23_meth.c +++ b/ssl/s23_meth.c @@ -76,6 +76,10 @@ 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 if (ver == TLS1_2_VERSION) + return(TLSv1_2_method()); else #endif return(NULL);