The fix for PR#1949 unfortunately broke cases where the BIO_CTRL_WPENDING
[openssl.git] / ssl / s23_meth.c
index c6099efcf75726b72b1b47d83a03c21d8b81bb4a..a2b4b224b16435e1a55b77f75dbdb26e79c72607 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);