aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-10-13 21:09:17 +0200
committerYang Tse <yangsita@gmail.com>2011-10-13 22:59:36 +0200
commit47e4537ac6d7c8b40ba742908efd6ddb1d362ba9 (patch)
treec5b1d20919d133cf5951131f5b47dc8f9a9fdaab
parent03adff1eba561c433a2667046c52d609322e684a (diff)
curl_ntlm_msgs.c: fix variable shadowing declaration introduced in 185ed340
-rw-r--r--lib/curl_ntlm_msgs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/curl_ntlm_msgs.c b/lib/curl_ntlm_msgs.c
index 23dbb7e18..bfd3e2814 100644
--- a/lib/curl_ntlm_msgs.c
+++ b/lib/curl_ntlm_msgs.c
@@ -720,7 +720,7 @@ CURLcode Curl_ntlm_create_type3_message(struct SessionHandle *data,
gcry_randomize(entropy, 8, GCRY_STRONG_RANDOM);
#elif defined(USE_NSS)
PK11Context *MD5pw;
- unsigned int outlen;
+ unsigned int MD5len;
Curl_nss_seed(data); /* Initiate the seed if not already done */
PK11_GenerateRandom(entropy, 8);
#endif
@@ -747,7 +747,7 @@ CURLcode Curl_ntlm_create_type3_message(struct SessionHandle *data,
#elif defined(USE_NSS)
MD5pw = PK11_CreateDigestContext(SEC_OID_MD5);
PK11_DigestOp(MD5pw, tmp, 16);
- PK11_DigestFinal(MD5pw, md5sum, &outlen, MD5_DIGEST_LENGTH);
+ PK11_DigestFinal(MD5pw, md5sum, &MD5len, MD5_DIGEST_LENGTH);
PK11_DestroyContext(MD5pw, PR_TRUE);
#endif