From 47e4537ac6d7c8b40ba742908efd6ddb1d362ba9 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 13 Oct 2011 21:09:17 +0200 Subject: [PATCH] curl_ntlm_msgs.c: fix variable shadowing declaration introduced in 185ed340 --- lib/curl_ntlm_msgs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/curl_ntlm_msgs.c b/lib/curl_ntlm_msgs.c index 23dbb7e..bfd3e28 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 -- 2.7.4