ntlm: Changed handles to be dynamic like other SSPI handles

Code cleanup to try and synchronise code between the different SSPI
based authentication mechanisms.
This commit is contained in:
Steve Holme
2014-10-25 14:23:40 +01:00
parent f9f212fb93
commit 28ff8babad
2 changed files with 35 additions and 19 deletions

View File

@@ -435,13 +435,12 @@ struct kerberos5data {
struct ntlmdata {
curlntlm state;
#ifdef USE_WINDOWS_SSPI
CredHandle credentials;
CtxtHandle context;
CredHandle *credentials;
CtxtHandle *context;
SEC_WINNT_AUTH_IDENTITY identity;
SEC_WINNT_AUTH_IDENTITY *p_identity;
size_t max_token_length;
BYTE *output_token;
int has_handles;
BYTE *input_token;
size_t input_token_len;
#else