aboutsummaryrefslogtreecommitdiffstats
path: root/http.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2020-04-19 16:30:08 -0700
committerJonathan Nieder <jrnieder@gmail.com>2020-04-19 16:30:08 -0700
commit9206d27eb5e76bbb3a4e59e3c53f92eaa0caa97b (patch)
treec7bf92c51265916390430f79f5233e33be25b4ed /http.c
parentfe2268649423eba889e942293e9c98c781277bf2 (diff)
parent041bc65923e13313ca1b77681c3b2950b5e0a163 (diff)
downloadgit-9206d27eb5e76bbb3a4e59e3c53f92eaa0caa97b.tar.gz
Git 2.21.3v2.21.3
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 a32ad36ddf..2b8136275a 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);