Made comment more clear #4567
This commit is contained in:
parent
c4f7c9be70
commit
a7848d6cd2
|
@ -210,12 +210,11 @@ SecureSocket::initContext(bool server)
|
||||||
// load all error messages
|
// load all error messages
|
||||||
SSL_load_error_strings();
|
SSL_load_error_strings();
|
||||||
|
|
||||||
|
// SSLv23_method uses TLSv1, with the ability to fall back to SSLv3
|
||||||
if (server) {
|
if (server) {
|
||||||
// create new server-method instance
|
|
||||||
method = SSLv23_server_method();
|
method = SSLv23_server_method();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// create new client-method instance
|
|
||||||
method = SSLv23_client_method();
|
method = SSLv23_client_method();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue