]> git.ipfire.org Git - thirdparty/git.git/blobdiff - http.c
http: allow use of TLS 1.3
[thirdparty/git.git] / http.c
diff --git a/http.c b/http.c
index 32a8238955a42a9f6fd86d7cd71d09129ab454a4..4699cf76c94a7b82a74cb12448bef0b61973af86 100644 (file)
--- a/http.c
+++ b/http.c
@@ -62,6 +62,9 @@ static struct {
        { "tlsv1.1", CURL_SSLVERSION_TLSv1_1 },
        { "tlsv1.2", CURL_SSLVERSION_TLSv1_2 },
 #endif
+#if LIBCURL_VERSION_NUM >= 0x073400
+       { "tlsv1.3", CURL_SSLVERSION_TLSv1_3 },
+#endif
 };
 #if LIBCURL_VERSION_NUM >= 0x070903
 static const char *ssl_key;