1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

digest_sspi: fix compilation warning

MSVC complains:
warning C4701: potentially uninitialized local variable 'output_token_len' used
This commit is contained in:
Marcel Raad 2017-02-27 13:05:22 +01:00
parent a21cae5f97
commit 727917555d
No known key found for this signature in database
GPG Key ID: B7F13D981BBF1607

View File

@ -412,7 +412,7 @@ CURLcode Curl_auth_create_digest_http_message(struct Curl_easy *data,
size_t token_max; size_t token_max;
char *resp; char *resp;
BYTE *output_token; BYTE *output_token;
size_t output_token_len; size_t output_token_len = 0;
PSecPkgInfo SecurityPackage; PSecPkgInfo SecurityPackage;
SecBuffer chlg_buf[5]; SecBuffer chlg_buf[5];
SecBufferDesc chlg_desc; SecBufferDesc chlg_desc;