]> git.ipfire.org Git - thirdparty/git.git/commit - http.c
http: when using Secure Channel, ignore sslCAInfo by default
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 25 Oct 2018 18:53:56 +0000 (11:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Oct 2018 02:15:49 +0000 (11:15 +0900)
commitb67d40adbbaf4f5c4898001bf062a9fd67e43368
tree91c1b0b47a94d1de092f2a9d764fddc2dc415b66
parent93aef7c79beb0bde12f2633423f8edd129eed019
http: when using Secure Channel, ignore sslCAInfo by default

As of cURL v7.60.0, the Secure Channel backend can use the certificate
bundle provided via `http.sslCAInfo`, but that would override the
Windows Certificate Store. Since this is not desirable by default, let's
tell Git to not ask cURL to use that bundle by default when the `schannel`
backend was configured via `http.sslBackend`, unless
`http.schannelUseSSLCAInfo` overrides this behavior.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
http.c