X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=ssl%2Fs23_meth.c;h=40eae0f0be624868f85f7cfb471aa80a32f5e368;hb=a54ce007e677ddd3a0cc4a3e4b47e823076117fa;hp=c6099efcf75726b72b1b47d83a03c21d8b81bb4a;hpb=00fe865dbec8fb626a63ed9f5b0be4073597c7a8;p=oweals%2Fopenssl.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);