Imported Upstream version 2.23.3
[platform/upstream/git.git] / http.c
diff --git a/http.c b/http.c
index 27aa0a3..c4dfdac 100644 (file)
--- 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);