mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-06 23:03:40 +00:00
Add git_cred_acquire_cb payload to winhttp transport
This commit is contained in:
parent
a72a8f34d3
commit
4cbe9a1be1
@ -447,7 +447,7 @@ replay:
|
|||||||
if (allowed_types &&
|
if (allowed_types &&
|
||||||
(!t->cred || 0 == (t->cred->credtype & allowed_types))) {
|
(!t->cred || 0 == (t->cred->credtype & allowed_types))) {
|
||||||
|
|
||||||
if (t->owner->cred_acquire_cb(&t->cred, t->owner->url, allowed_types) < 0)
|
if (t->owner->cred_acquire_cb(&t->cred, t->owner->url, allowed_types, t->owner->cred_acquire_payload) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
assert(t->cred);
|
assert(t->cred);
|
||||||
|
Loading…
Reference in New Issue
Block a user