aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-06-28 23:05:05 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-06-29 09:15:34 +0200
commit08c845cfdb66b8a4e61f92ec512ae41d9700b9ec (patch)
tree0956a3e9eb46bc49e675d8a853da868d9acf9274 /lib/vtls
parent24cb114c53bd60495920c1aa3455290ea4b624dd (diff)
openssl: allow TLS 1.3 by default
Reported-by: Andreas Olsson Fixes #2692 Closes #2693
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index 4731107f2..225b4cbd1 100644
--- a/lib/vtls/openssl.c
+++ b/lib/vtls/openssl.c
@@ -2130,12 +2130,12 @@ set_ssl_version_min_max(long *ctx_options, struct connectdata *conn,
#endif
/* FALLTHROUGH */
case CURL_SSLVERSION_MAX_TLSv1_2:
- case CURL_SSLVERSION_MAX_DEFAULT:
#ifdef TLS1_3_VERSION
*ctx_options |= SSL_OP_NO_TLSv1_3;
#endif
break;
case CURL_SSLVERSION_MAX_TLSv1_3:
+ case CURL_SSLVERSION_MAX_DEFAULT:
#ifdef TLS1_3_VERSION
break;
#else