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:
parent
c454dbcd32
commit
794103d285
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue