diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-04-20 08:05:56 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-20 08:05:56 +0300 |
commit | 048abe1751e6727bfbacf7b80466d78e04631f94 (patch) | |
tree | 13702133a3c4d25decd9d096a63e60a315a69f80 /http.c | |
parent | efe3874640e2e58209ddbb3b072f48f6b7094f34 (diff) | |
parent | af6b65d45ef179ed52087e80cb089f6b2349f4ec (diff) |
Sync with 2.26.2
Diffstat (limited to 'http.c')
-rw-r--r-- | http.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |