diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2024-10-23 02:45:57 +0200 |
---|---|---|
committer | Taylor Blau <me@ttaylorr.com> | 2024-10-23 22:16:35 +0200 |
commit | 603cf3e9421e093034d0f0933b3375159afc3c17 (patch) | |
tree | 28b8752a6da9efc25c76ee972e7623d79cfe0527 /http.c | |
parent | git-curl-compat: remove check for curl 7.53.0 (diff) | |
download | git-603cf3e9421e093034d0f0933b3375159afc3c17.tar.xz git-603cf3e9421e093034d0f0933b3375159afc3c17.zip |
git-curl-compat: remove check for curl 7.56.0
libcurl 7.56.0 was released in September 2017, which is over seven years
ago, and no major operating system vendor is still providing security
support for it. Debian 10, which is out of mainstream security support,
has supported a newer version, and Ubuntu 20.04 and RHEL 8, which are
still in support, also have 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 'http.c')
-rw-r--r-- | http.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1275,7 +1275,6 @@ void http_init(struct remote *remote, const char *url, int proactive_auth) free(normalized_url); string_list_clear(&config.vars, 1); -#ifdef GIT_CURL_HAVE_CURLSSLSET_NO_BACKENDS if (http_ssl_backend) { const curl_ssl_backend **backends; struct strbuf buf = STRBUF_INIT; @@ -1300,7 +1299,6 @@ void http_init(struct remote *remote, const char *url, int proactive_auth) break; /* Okay! */ } } -#endif if (curl_global_init(CURL_GLOBAL_ALL) != CURLE_OK) die("curl_global_init failed"); |