for consistency and readability, rename "sslv23" to "any" since that it is related to {TLS, SSLv23}methods that handles all supported protocols.

This commit is contained in:
Gleydson Soares 2015-11-17 20:05:06 -03:00
parent ef28f7d20d
commit 63f7d46d00

View File

@ -96,7 +96,7 @@ static LSEC_SSL_METHOD* str2method(const char *method)
#if OPENSSL_VERSION_NUMBER>=0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
#define SSLv23_method TLS_method
#endif
if (!strcmp(method, "sslv23")) return SSLv23_method();
if (!strcmp(method, "any")) return SSLv23_method();
#ifndef OPENSSL_NO_SSL3
if (!strcmp(method, "sslv3")) return SSLv3_method();
#endif