summaryrefslogtreecommitdiff
path: root/src/OptionHandlerFactory.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2019-04-07 13:37:35 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2019-04-07 16:18:32 +0900
commit52da4e40ea22d1db13c1eadeac5baed4e8fd5dd8 (patch)
tree8091adba711093b9201845d9cd6b4ffdb9ea606b /src/OptionHandlerFactory.cc
parent4af4a7cfc36936350bd2aa92a6e20384fc653a47 (diff)
Drop SSLv3.0 and TLSv1.0 and add TLSv1.3
TLSv1.3 support is added for GNUTLS and OpenSSL.
Diffstat (limited to 'src/OptionHandlerFactory.cc')
-rw-r--r--src/OptionHandlerFactory.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc
index 3d76d338..6bff4caa 100644
--- a/src/OptionHandlerFactory.cc
+++ b/src/OptionHandlerFactory.cc
@@ -513,8 +513,8 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers()
#ifdef ENABLE_SSL
{
OptionHandler* op(new ParameterOptionHandler(
- PREF_MIN_TLS_VERSION, TEXT_MIN_TLS_VERSION, A2_V_TLS10,
- {A2_V_SSL3, A2_V_TLS10, A2_V_TLS11, A2_V_TLS12}));
+ PREF_MIN_TLS_VERSION, TEXT_MIN_TLS_VERSION, A2_V_TLS12,
+ {A2_V_TLS11, A2_V_TLS12, A2_V_TLS13}));
op->addTag(TAG_ADVANCED);
handlers.push_back(op);
}