Made comment more clear #4567

This commit is contained in:
XinyuHou 2015-04-23 11:28:15 +01:00 committed by Xinyu Hou
parent c4f7c9be70
commit a7848d6cd2
1 changed files with 1 additions and 2 deletions

View File

@ -210,12 +210,11 @@ SecureSocket::initContext(bool server)
// load all error messages
SSL_load_error_strings();
// SSLv23_method uses TLSv1, with the ability to fall back to SSLv3
if (server) {
// create new server-method instance
method = SSLv23_server_method();
}
else {
// create new client-method instance
method = SSLv23_client_method();
}