For SSLv2, return the SSLv2 method, not the SSLv23 method. This way,

it's possible to reuse an SSLv2 session.
This commit is contained in:
Richard Levitte 2001-03-02 12:17:57 +00:00
parent c454dbcd32
commit 794103d285

View File

@ -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)