summaryrefslogtreecommitdiff
path: root/lib/vauth/digest_sspi.c
diff options
context:
space:
mode:
authorMarcel Raad <raad@teamviewer.com>2017-02-27 13:05:22 +0100
committerMarcel Raad <raad@teamviewer.com>2017-02-27 13:05:22 +0100
commit727917555deb4dafe3b3bda9b1fd3c39b4e1677c (patch)
treedf20758df99db0f4cb11a0c6b66fd5e5a05c2cd3 /lib/vauth/digest_sspi.c
parenta21cae5f97727ab357c8527b0a7dc8820e335012 (diff)
downloadcurl-727917555deb4dafe3b3bda9b1fd3c39b4e1677c.tar.gz
digest_sspi: fix compilation warning
MSVC complains: warning C4701: potentially uninitialized local variable 'output_token_len' used
Diffstat (limited to 'lib/vauth/digest_sspi.c')
-rw-r--r--lib/vauth/digest_sspi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vauth/digest_sspi.c b/lib/vauth/digest_sspi.c
index 15f3d8c14..a6eea5ca6 100644
--- a/lib/vauth/digest_sspi.c
+++ b/lib/vauth/digest_sspi.c
@@ -412,7 +412,7 @@ CURLcode Curl_auth_create_digest_http_message(struct Curl_easy *data,
size_t token_max;
char *resp;
BYTE *output_token;
- size_t output_token_len;
+ size_t output_token_len = 0;
PSecPkgInfo SecurityPackage;
SecBuffer chlg_buf[5];
SecBufferDesc chlg_desc;