ssl policy兼容“sslv3.0”的定义方式

This commit is contained in:
zhengchao
2019-06-17 20:55:20 +08:00
parent 03098bc2cf
commit 3b902001c1

View File

@@ -291,7 +291,7 @@ int sslver_str2num(const char * version_str)
* SSLv2_server_method() and SSLv2_client_method() functions were
* removed in OpenSSL 1.1.0.
*/
if (!strcasecmp(version_str, "ssl3")||!strcasecmp(version_str, "SSLv3"))
if (!strcasecmp(version_str, "ssl3")||!strcasecmp(version_str, "SSLv3")||!strcasecmp(version_str, "sslv3.0"))
{
sslversion = SSL3_VERSION;
}