diff options
Diffstat (limited to 'net/ssl/ssl_config.cc')
-rw-r--r-- | net/ssl/ssl_config.cc | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/net/ssl/ssl_config.cc b/net/ssl/ssl_config.cc index 0282991..269934b 100644 --- a/net/ssl/ssl_config.cc +++ b/net/ssl/ssl_config.cc @@ -4,26 +4,11 @@ #include "net/ssl/ssl_config.h" -#if defined(USE_OPENSSL) -#include <openssl/ssl.h> -#endif - namespace net { const uint16 kDefaultSSLVersionMin = SSL_PROTOCOL_VERSION_SSL3; -const uint16 kDefaultSSLVersionMax = -#if defined(USE_OPENSSL) -#if defined(SSL_OP_NO_TLSv1_2) - SSL_PROTOCOL_VERSION_TLS1_2; -#elif defined(SSL_OP_NO_TLSv1_1) - SSL_PROTOCOL_VERSION_TLS1_1; -#else - SSL_PROTOCOL_VERSION_TLS1; -#endif -#else - SSL_PROTOCOL_VERSION_TLS1_2; -#endif +const uint16 kDefaultSSLVersionMax = SSL_PROTOCOL_VERSION_TLS1_2; SSLConfig::CertAndStatus::CertAndStatus() : cert_status(0) {} |