aboutsummaryrefslogtreecommitdiffstats
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
parent21a3e5016bb218dc9b016284c88ba685bc446b70 (diff)
parentdf5be6dc3fd18c294ec93a9af0321334e3f92c9c (diff)
downloadgit-ba6f0905fdb9e65c1ac5fbc79c9a4ef0b59b3e68.tar.gz
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);