diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-08-08 07:23:38 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-08-08 07:31:03 +0100 |
commit | df739784e5cba0d032e0675d49fb449042799104 (patch) | |
tree | 79487dcd1800ea0c0669a8938dc466ea322b3d4e /lib/urldata.h | |
parent | 03d34b683d79dd42463fd26d5f0dd1d7cc192036 (diff) |
ntlm: Fixed hard coded buffer for SSPI based auth packet generation
Given the SSPI package info query indicates a token size of 2888 bytes,
and as with the Winbind code and commit 9008f3d56, use a dynamic buffer
for the Type-1 and Type-3 message generation rather than a fixed buffer
of 1024 bytes.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index dcf72dd1d..69f2297ba 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -433,6 +433,8 @@ struct ntlmdata { CtxtHandle c_handle; SEC_WINNT_AUTH_IDENTITY identity; SEC_WINNT_AUTH_IDENTITY *p_identity; + size_t max_token_length; + BYTE *output_token; int has_handles; void *type_2; unsigned long n_type_2; |