From 978574b502294ae06eb97d4f590b54ed5d24cd7f Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Fri, 31 Aug 2018 19:46:29 -0400 Subject: [PATCH] openssl: Fix setting TLS 1.3 cipher suites The flag indicating TLS 1.3 cipher support in the OpenSSL backend was missing. Bug: https://github.com/curl/curl/pull/2607#issuecomment-417283187 Reported-by: Kamil Dudka Closes #2926 --- lib/vtls/openssl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 78ee7e4f74..a487f553c9 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -3807,6 +3807,9 @@ const struct Curl_ssl Curl_ssl_openssl = { SSLSUPP_CERTINFO | SSLSUPP_PINNEDPUBKEY | SSLSUPP_SSL_CTX | +#ifdef HAVE_SSL_CTX_SET_CIPHERSUITES + SSLSUPP_TLS13_CIPHERSUITES | +#endif SSLSUPP_HTTPS_PROXY, sizeof(struct ssl_backend_data),