]> granicus.if.org Git - curl/commitdiff
openssl: Fix setting TLS 1.3 cipher suites
authorJay Satiro <raysatiro@yahoo.com>
Fri, 31 Aug 2018 23:46:29 +0000 (19:46 -0400)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 3 Sep 2018 11:14:45 +0000 (13:14 +0200)
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

index 78ee7e4f742b5fc67ba46f85a8349e0e462d5e0c..a487f553c90d24c15fd0eb7bfd4a3b85357154b5 100644 (file)
@@ -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),