summaryrefslogtreecommitdiff
path: root/http.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2020-04-19 23:26:41 (GMT)
committerJonathan Nieder <jrnieder@gmail.com>2020-04-19 23:26:41 (GMT)
commit76b54ee9b9944ee70422ac24884f78769cf264f1 (patch)
treed82790a92ce10a52c1492d58c271099cac389244 /http.c
parenta5979d7009017c79b0100b7b66e8567b3ad7b022 (diff)
parentba6f0905fdb9e65c1ac5fbc79c9a4ef0b59b3e68 (diff)
downloadgit-76b54ee9b9944ee70422ac24884f78769cf264f1.zip
git-76b54ee9b9944ee70422ac24884f78769cf264f1.tar.gz
git-76b54ee9b9944ee70422ac24884f78769cf264f1.tar.bz2
Git 2.19.5v2.19.5
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 4162860..d9e351b 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);