summaryrefslogtreecommitdiffstats
path: root/http.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2020-04-19 16:24:14 -0700
committerJonathan Nieder <jrnieder@gmail.com>2020-04-19 16:24:14 -0700
commitba6f0905fdb9e65c1ac5fbc79c9a4ef0b59b3e68 (patch)
tree568cffa77566b7b50fed2a7db52f89cf26016ef2 /http.c
parentGit 2.18.3 (diff)
parentGit 2.17.5 (diff)
downloadgit-2.18.4.tar.gz
git-2.18.4.zip
Git 2.18.4v2.18.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 b4bfbceaeb..3fdc7a7328 100644
--- a/http.c
+++ b/http.c
@@ -528,6 +528,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);