Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/http.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-04-20 08:05:56 +0300
committerJunio C Hamano <gitster@pobox.com>2020-04-20 08:05:56 +0300
commit048abe1751e6727bfbacf7b80466d78e04631f94 (patch)
tree13702133a3c4d25decd9d096a63e60a315a69f80 /http.c
parentefe3874640e2e58209ddbb3b072f48f6b7094f34 (diff)
parentaf6b65d45ef179ed52087e80cb089f6b2349f4ec (diff)
Sync with 2.26.2
Diffstat (limited to 'http.c')
-rw-r--r--http.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/http.c b/http.c
index 4283be9479..62aa995245 100644
--- a/http.c
+++ b/http.c
@@ -579,6 +579,7 @@ static int has_cert_password(void)
return 0;
if (!cert_auth.password) {
cert_auth.protocol = xstrdup("cert");
+ cert_auth.host = xstrdup("");
cert_auth.username = xstrdup("");
cert_auth.path = xstrdup(ssl_cert);
credential_fill(&cert_auth);
@@ -593,6 +594,7 @@ static int has_proxy_cert_password(void)
return 0;
if (!proxy_cert_auth.password) {
proxy_cert_auth.protocol = xstrdup("cert");
+ proxy_cert_auth.host = xstrdup("");
proxy_cert_auth.username = xstrdup("");
proxy_cert_auth.path = xstrdup(http_proxy_ssl_cert);
credential_fill(&proxy_cert_auth);