Lines 1037-1049
static const char* turn_get_method(const
Link Here
|
1037 |
if(!method) |
1037 |
if(!method) |
1038 |
return mdefault; |
1038 |
return mdefault; |
1039 |
else { |
1039 |
else { |
1040 |
|
1040 |
#ifndef OPENSSL_NO_SSL3 |
1041 |
if(method == SSLv3_server_method()) { |
1041 |
if(method == SSLv3_server_method()) { |
1042 |
return "SSLv3"; |
1042 |
return "SSLv3"; |
1043 |
} else if(method == SSLv3_client_method()) { |
1043 |
} else if(method == SSLv3_client_method()) { |
1044 |
return "SSLv3"; |
1044 |
return "SSLv3"; |
1045 |
} else if(method == SSLv23_server_method()) { |
1045 |
} else |
1046 |
return "SSLv23"; |
1046 |
#endif |
|
|
1047 |
if(method == SSLv23_server_method()) { |
1048 |
return "SSLv23"; |
1047 |
} else if(method == SSLv23_client_method()) { |
1049 |
} else if(method == SSLv23_client_method()) { |
1048 |
return "SSLv23"; |
1050 |
return "SSLv23"; |
1049 |
} else if(method == TLSv1_server_method()) { |
1051 |
} else if(method == TLSv1_server_method()) { |