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
This commit is contained in:
commit
8bc714b408
1
http.c
1
http.c
@ -236,6 +236,7 @@ static int has_cert_password(void)
|
|||||||
return 0;
|
return 0;
|
||||||
if (!cert_auth.password) {
|
if (!cert_auth.password) {
|
||||||
cert_auth.protocol = xstrdup("cert");
|
cert_auth.protocol = xstrdup("cert");
|
||||||
|
cert_auth.username = xstrdup("");
|
||||||
cert_auth.path = xstrdup(ssl_cert);
|
cert_auth.path = xstrdup(ssl_cert);
|
||||||
credential_fill(&cert_auth);
|
credential_fill(&cert_auth);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user