Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rb/http-cert-cred-no-username-prompt'
author
Junio C Hamano
<gitster@pobox.com>
Wed, 2 Jan 2013 18:39:21 +0000
(10:39 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 2 Jan 2013 18:39:21 +0000
(10:39 -0800)
http transport was wrong to ask for the username when the
authentication is done by certificate identity.
* rb/http-cert-cred-no-username-prompt:
http.c: Avoid username prompt for certifcate credentials
http.c
patch
|
blob
|
history
raw
(from parent 1:
4b32367
)
diff --git
a/http.c
b/http.c
index 0a8abf3be369a18fae8e743d4cc9b5f2c2f63f03..44f35256e44ffdda2ffb0ce67825008bef89700f 100644
(file)
--- 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);
}