Commit 794103d2 authored by Richard Levitte's avatar Richard Levitte
Browse files

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

it's possible to reuse an SSLv2 session.
parent c454dbcd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)