Use algorithm specific chains for certificates.
[openssl.git] / ssl / s23_meth.c
index c6099efcf75726b72b1b47d83a03c21d8b81bb4a..40eae0f0be624868f85f7cfb471aa80a32f5e368 100644 (file)
@@ -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);