diff options
author | Kamil Dudka <kdudka@redhat.com> | 2016-10-27 14:57:11 +0200 |
---|---|---|
committer | Kamil Dudka <kdudka@redhat.com> | 2016-11-07 11:52:07 +0100 |
commit | 6ad3add60654182a747f5971afb40817488ef0e8 (patch) | |
tree | 7e45ea9851feb2bc253503c35967a46098f438b5 /lib/vtls/gskit.c | |
parent | 5d45ced7a45ea38e32f1cbf73d7c63a3e4f241e7 (diff) | |
download | curl-6ad3add60654182a747f5971afb40817488ef0e8.tar.gz |
vtls: support TLS 1.3 via CURL_SSLVERSION_TLSv1_3
Fully implemented with the NSS backend only for now.
Reviewed-by: Ray Satiro
Diffstat (limited to 'lib/vtls/gskit.c')
-rw-r--r-- | lib/vtls/gskit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/vtls/gskit.c b/lib/vtls/gskit.c index 3b0cfd5a0..9760c93ab 100644 --- a/lib/vtls/gskit.c +++ b/lib/vtls/gskit.c @@ -639,6 +639,9 @@ static CURLcode gskit_connect_step1(struct connectdata *conn, int sockindex) case CURL_SSLVERSION_TLSv1_2: protoflags = CURL_GSKPROTO_TLSV12_MASK; break; + case CURL_SSLVERSION_TLSv1_3: + failf(data, "TLS 1.3 not yet supported"); + return CURLE_SSL_CIPHER; } /* Process SNI. Ignore if not supported (on OS400 < V7R1). */ |