Skip to content

Commit d2f078c

Browse files
bk2204ttaylorr
authored andcommitted
git-curl-compat: remove check for curl 7.53.0
libcurl 7.53.0 was released in February 2017, which is over seven years ago, and no major operating system vendor is still providing security support for it. Debian 10 and Ubuntu 18.04, both of which are out of mainstream security support, have supported a newer version, and RHEL 8, which is still in support, also has a newer version. Remove the check for this version and use this functionality unconditionally. Signed-off-by: brian m. carlson <[email protected]> Signed-off-by: Taylor Blau <[email protected]>
1 parent 17de6fd commit d2f078c

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

git-curl-compat.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,6 @@
2828
* introduced, oldest first, in the official version of cURL library.
2929
*/
3030

31-
/**
32-
* CURL_SSLVERSION_TLSv1_3 was added in 7.53.0, released in February
33-
* 2017.
34-
*/
35-
#if LIBCURL_VERSION_NUM >= 0x073400
36-
#define GIT_CURL_HAVE_CURL_SSLVERSION_TLSv1_3 1
37-
#endif
38-
3931
/**
4032
* CURLSSLSET_{NO_BACKENDS,OK,TOO_LATE,UNKNOWN_BACKEND} were added in
4133
* 7.56.0, released in September 2017.

http.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ static struct {
5555
{ "tlsv1.0", CURL_SSLVERSION_TLSv1_0 },
5656
{ "tlsv1.1", CURL_SSLVERSION_TLSv1_1 },
5757
{ "tlsv1.2", CURL_SSLVERSION_TLSv1_2 },
58-
#ifdef GIT_CURL_HAVE_CURL_SSLVERSION_TLSv1_3
5958
{ "tlsv1.3", CURL_SSLVERSION_TLSv1_3 },
60-
#endif
6159
};
6260
static char *ssl_key;
6361
static char *ssl_key_type;

0 commit comments

Comments
 (0)