aboutsummaryrefslogtreecommitdiffstats
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
parentd1259ce117d0714f1441956805612fb36d7ce7f8 (diff)
parent76b54ee9b9944ee70422ac24884f78769cf264f1 (diff)
downloadgit-041bc65923e13313ca1b77681c3b2950b5e0a163.tar.gz
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);