setopt: add TLS 1.3 ciphersuites

Adds CURLOPT_TLS13_CIPHERS and CURLOPT_PROXY_TLS13_CIPHERS.

curl: added --tls13-ciphers and --proxy-tls13-ciphers

Fixes #2435
Reported-by: zzq1015 on github
Closes #2607
This commit is contained in:
Daniel Stenberg 2018-05-29 16:12:52 +02:00
parent 5005ade2ce
commit 050c93c46f
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
19 changed files with 260 additions and 11 deletions

View file

@ -1849,6 +1849,10 @@ typedef enum {
/* shuffle addresses before use when DNS returns multiple */
CINIT(DNS_SHUFFLE_ADDRESSES, LONG, 275),
/* Specify which TLS 1.3 ciphers suites to use */
CINIT(TLS13_CIPHERS, STRINGPOINT, 276),
CINIT(PROXY_TLS13_CIPHERS, STRINGPOINT, 277),
CURLOPT_LASTENTRY /* the last unused */
} CURLoption;