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
This commit is contained in:
Jay Satiro 2018-08-31 19:46:29 -04:00 committed by Daniel Stenberg
parent 57d299a499
commit 978574b502
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View 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),