From: Richard Levitte Date: Fri, 2 Mar 2001 12:17:57 +0000 (+0000) Subject: For SSLv2, return the SSLv2 method, not the SSLv23 method. This way, X-Git-Tag: OpenSSL_0_9_6a-beta2~17^2~99 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=794103d28517f5f3fd97fd7d1905f5bd8e897148;p=oweals%2Fopenssl.git For SSLv2, return the SSLv2 method, not the SSLv23 method. This way, it's possible to reuse an SSLv2 session. --- diff --git a/ssl/s23_meth.c b/ssl/s23_meth.c index b52ca1d58b..40684311db 100644 --- a/ssl/s23_meth.c +++ b/ssl/s23_meth.c @@ -64,7 +64,7 @@ static SSL_METHOD *ssl23_get_method(int ver); static SSL_METHOD *ssl23_get_method(int ver) { if (ver == SSL2_VERSION) - return(SSLv23_method()); + return(SSLv2_method()); else if (ver == SSL3_VERSION) return(SSLv3_method()); else if (ver == TLS1_VERSION)