Skip to content

Commit 8bc714b

Browse files
committed
Merge branch 'rb/http-cert-cred-no-username-prompt' into maint
* rb/http-cert-cred-no-username-prompt: http.c: Avoid username prompt for certifcate credentials
2 parents 283b365 + 75e9a40 commit 8bc714b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

http.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ static int has_cert_password(void)
236236
return 0;
237237
if (!cert_auth.password) {
238238
cert_auth.protocol = xstrdup("cert");
239+
cert_auth.username = xstrdup("");
239240
cert_auth.path = xstrdup(ssl_cert);
240241
credential_fill(&cert_auth);
241242
}

0 commit comments

Comments
 (0)