1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-15 14:05:03 -05:00

http_digest: Added SSPI based challenge decoding code

This commit is contained in:
Steve Holme 2014-11-06 11:42:49 +00:00
parent 21fa0d86b1
commit f0d3be29f2

View File

@ -288,10 +288,15 @@ CURLcode Curl_sasl_create_digest_md5_message(struct SessionHandle *data,
CURLcode Curl_sasl_decode_digest_http_message(const char *chlg,
struct digestdata *digest)
{
(void) chlg;
(void) digest;
/* Clean up any former leftovers and initialise to defaults */
Curl_sasl_digest_cleanup(digest);
return CURLE_NOT_BUILT_IN;
/* Simply store the challenge for use later */
digest->input_token = (BYTE *) strdup(chlg);
if(!digest->input_token)
return CURLE_OUT_OF_MEMORY;
return CURLE_OK;
}
/*