http_negotiate_sspi: Fixed specific username and password not working

Bug: http://curl.haxx.se/mail/lib-2014-06/0224.html
Reported-by: Leonardo Rosati
This commit is contained in:
Steve Holme
2014-07-11 21:45:25 +01:00
parent f8af8606a5
commit f8a8ed73fe
2 changed files with 47 additions and 5 deletions

View File

@@ -459,6 +459,8 @@ struct negotiatedata {
DWORD status;
CtxtHandle *context;
CredHandle *credentials;
SEC_WINNT_AUTH_IDENTITY identity;
SEC_WINNT_AUTH_IDENTITY *p_identity;
char server_name[1024];
size_t max_token_length;
BYTE *output_token;