diff options
| author | brian m. carlson <sandals@crustytoothpaste.net> | 2024-10-23 00:45:53 +0000 |
|---|---|---|
| committer | Taylor Blau <me@ttaylorr.com> | 2024-10-23 16:16:35 -0400 |
| commit | f47a1faa9bd147048bf5d9d93a043e9a438d30d0 (patch) | |
| tree | 140b3af1691dcdf31a12ea04763f76eb37485ccc /git-curl-compat.h | |
| parent | 05dd4ec507f022462125afb1af3c8b42861dcdc5 (diff) | |
| download | git-f47a1faa9bd147048bf5d9d93a043e9a438d30d0.tar.gz | |
git-curl-compat: remove check for curl 7.43.0
libcurl 7.43.0 was released in June 2015, which is over nine 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 | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/git-curl-compat.h b/git-curl-compat.h index b301ef154c..cd970e34d6 100644 --- a/git-curl-compat.h +++ b/git-curl-compat.h @@ -29,17 +29,6 @@ */ /** - * 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 - * always been a macro, not an enum field (checked on curl version - * 7.78.0) - */ -#if LIBCURL_VERSION_NUM >= 0x072b00 -#define GIT_CURL_HAVE_CURL_HTTP_VERSION_2 1 -#endif - -/** * CURLSSLOPT_NO_REVOKE was added in 7.44.0, released in August 2015. * * The CURLSSLOPT_NO_REVOKE is, has always been a macro, not an enum |
