mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
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
@ -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 New Issue
Block a user