return v1.1 methods for client/server
This commit is contained in:
parent
35b0ea4efe
commit
76774c5ea1
@ -129,6 +129,8 @@ static const SSL_METHOD *ssl23_get_client_method(int ver)
|
||||
return(SSLv3_client_method());
|
||||
else if (ver == TLS1_VERSION)
|
||||
return(TLSv1_client_method());
|
||||
else if (ver == TLS1_1_VERSION)
|
||||
return(TLSv1_1_client_method());
|
||||
else
|
||||
return(NULL);
|
||||
}
|
||||
|
@ -76,6 +76,8 @@ static const SSL_METHOD *ssl23_get_method(int ver)
|
||||
#ifndef OPENSSL_NO_TLS1
|
||||
if (ver == TLS1_VERSION)
|
||||
return(TLSv1_method());
|
||||
else if (ver == TLS1_1_VERSION)
|
||||
return(TLSv1_1_method());
|
||||
else
|
||||
#endif
|
||||
return(NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user