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>
This commit is contained in:

committed by
Taylor Blau

parent
6545b26eeb
commit
05dd4ec507
@ -28,15 +28,6 @@
|
||||
* introduced, oldest first, in the official version of cURL library.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user