aboutsummaryrefslogtreecommitdiffstats
path: root/http.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2020-04-19 16:31:07 -0700
committerJonathan Nieder <jrnieder@gmail.com>2020-04-19 16:31:07 -0700
commit7397ca33730626f682845f8691b39c305535611e (patch)
tree839c4f406bea1107beabd066440dbfa2e952b561 /http.c
parent67b0a24910fbb23c8f5e7a2c61c339818bc68296 (diff)
parentb86a4be245d0ba077c97c6ab6b1cdbeb9dcc1342 (diff)
downloadgit-7397ca33730626f682845f8691b39c305535611e.tar.gz
Git 2.25.4v2.25.4
This merges up the security fix from v2.17.5. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 'http.c')
-rw-r--r--http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/http.c b/http.c
index 5f348169c3..aa7c35b4c0 100644
--- a/http.c
+++ b/http.c
@@ -558,6 +558,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);