diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2024-10-23 02:45:52 +0200 |
---|---|---|
committer | Taylor Blau <me@ttaylorr.com> | 2024-10-23 22:16:35 +0200 |
commit | 05dd4ec507f022462125afb1af3c8b42861dcdc5 (patch) | |
tree | 10fb2ad3278a68132a6edc8fc036ca55dda75e77 /git-curl-compat.h | |
parent | git-curl-compat: remove check for curl 7.34.0 (diff) | |
download | git-05dd4ec507f022462125afb1af3c8b42861dcdc5.tar.xz git-05dd4ec507f022462125afb1af3c8b42861dcdc5.zip |
git-curl-compat: remove check for curl 7.39.0
libcurl 7.39.0 was released in November 2014, which is almost ten years
ago, and no major operating system vendor is still providing security
support for it. Debian 9 and Ubuntu 16.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 <sandals@crustytoothpaste.net>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'git-curl-compat.h')
-rw-r--r-- | git-curl-compat.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/git-curl-compat.h b/git-curl-compat.h index 21306fa88f..b301ef154c 100644 --- a/git-curl-compat.h +++ b/git-curl-compat.h @@ -29,15 +29,6 @@ */ /** - * CURLOPT_PINNEDPUBLICKEY was added in 7.39.0, released in November - * 2014. CURLE_SSL_PINNEDPUBKEYNOTMATCH was added in that same version. - */ -#if LIBCURL_VERSION_NUM >= 0x072c00 -#define GIT_CURL_HAVE_CURLOPT_PINNEDPUBLICKEY 1 -#define GIT_CURL_HAVE_CURLE_SSL_PINNEDPUBKEYNOTMATCH 1 -#endif - -/** * CURL_HTTP_VERSION_2 was added in 7.43.0, released in June 2015. * * The CURL_HTTP_VERSION_2 alias (but not CURL_HTTP_VERSION_2_0) has |