summaryrefslogtreecommitdiff
path: root/http.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2020-04-19 16:30:27 -0700
committerJonathan Nieder <jrnieder@gmail.com>2020-04-19 16:30:27 -0700
commitf2771efd07b51edae023db95fcca39c72a0397fe (patch)
tree1c2cf45ae40c5e662d5f9277b63b78bb7ef9c420 /http.c
parent17a02783d8f7cac1780d8035f3e2e0d25bba077b (diff)
parentc9808fa014aa88cc306705d308d1d9065d567ddc (diff)
Git 2.23.3v2.23.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 27aa0a3192..c4dfdac11f 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);