http: correct curl version check for CURLOPT_PINNEDPUBLICKEY
commit905a02880473c54f6c817e4ec8262d195d149940
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 13 Sep 2021 14:51:27 +0000 (13 16:51 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Sep 2021 17:39:04 +0000 (13 10:39 -0700)
treeb0b25ddf4e64bdd12a45569212a0d7af06b734db
parent2a7f64616a38ee13e1986672c1e26de58cd98896
http: correct curl version check for CURLOPT_PINNEDPUBLICKEY

In aeff8a61216 (http: implement public key pinning, 2016-02-15) a
dependency and warning() was added if curl older than 7.44.0 was used,
but the relevant code depended on CURLOPT_PINNEDPUBLICKEY, introduced
in 7.39.0.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http.c