summaryrefslogtreecommitdiff
path: root/tar.h
diff options
context:
space:
mode:
authorLibravatar Jakub Bereżański <kuba@berezanscy.pl>2017-10-30 18:20:44 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-11-01 13:46:39 +0900
commit601e1e7897022b1f166c81e58c95e9afa06cac25 (patch)
tree1f31d8f4f907b06e4a67ea2eaf4134598faf1c7e /tar.h
parentt0302: check helper can handle empty credentials (diff)
downloadtgif-601e1e7897022b1f166c81e58c95e9afa06cac25.tar.xz
wincred: handle empty username/password correctly
Empty (length 0) usernames and/or passwords, when saved in the Windows Credential Manager, come back as null when reading the credential. One use case for such empty credentials is with NTLM authentication, where empty username and password instruct libcurl to authenticate using the credentials of the currently logged-on user (single sign-on). When locating the relevant credentials, make empty username match null. When outputting the credentials, handle nulls correctly. Signed-off-by: Jakub Bereżański <kuba@berezanscy.pl> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tar.h')
0 files changed, 0 insertions, 0 deletions