http_digest: Reworked the SSPI based input token storage

Reworked the input token (challenge message) storage as what is passed
to the buf and desc in the response generation are typically blobs of
data rather than strings, so this is more in keeping with other areas
of the SSPI code, such as the NTLM message functions.
This commit is contained in:
Steve Holme
2014-11-06 15:05:36 +00:00
parent 6d45f952e6
commit 500d2db302
2 changed files with 11 additions and 3 deletions

View File

@@ -393,6 +393,7 @@ struct curl_ssl_session {
struct digestdata {
#if defined(USE_WINDOWS_SSPI)
BYTE *input_token;
size_t input_token_len;
#else
char *nonce;
char *cnonce;