X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=http.c;h=44f35256e44ffdda2ffb0ce67825008bef89700f;hb=ddd2369c5c8b98060cf8fccb27684c2be1cd8935;hp=0a8abf3be369a18fae8e743d4cc9b5f2c2f63f03;hpb=4881616c1a4fa7b19ca2c722ef0b3d48316ac8ef;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); }