X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=http.c;h=44f35256e44ffdda2ffb0ce67825008bef89700f;hb=32b367e4441f8566f200459149d1aaee8fafc867;hp=0a8abf3be369a18fae8e743d4cc9b5f2c2f63f03;hpb=73cf1b540e93348929d7a43530fbaec67224b61e;p=git.git diff --git a/http.c b/http.c index 0a8abf3be..44f35256e 100644 --- a/http.c +++ b/http.c @@ -236,6 +236,7 @@ static int has_cert_password(void) return 0; if (!cert_auth.password) { cert_auth.protocol = xstrdup("cert"); + cert_auth.username = xstrdup(""); cert_auth.path = xstrdup(ssl_cert); credential_fill(&cert_auth); }