summaryrefslogtreecommitdiffstats
path: root/http.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2020-04-19 16:28:57 -0700
committerJonathan Nieder <jrnieder@gmail.com>2020-04-19 16:28:57 -0700
commit041bc65923e13313ca1b77681c3b2950b5e0a163 (patch)
treeefd3a79e0f5bac17b6526ea00e396d4bdcf62c26 /http.c
parentGit 2.20.3 (diff)
parentGit 2.19.5 (diff)
downloadgit-2.20.4.tar.gz
git-2.20.4.zip
Git 2.20.4v2.20.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 eacc2a75ef..4abe11c125 100644
--- a/http.c
+++ b/http.c
@@ -554,6 +554,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);