From: Marcel Raad Date: Sun, 4 Jun 2017 22:27:29 +0000 (+0200) Subject: curl_ntlm_core: use Curl_raw_toupper instead of toupper X-Git-Tag: curl-7_54_1~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=796044273009a4ffc2b85eaebf0d44e427c3d8f4;p=curl curl_ntlm_core: use Curl_raw_toupper instead of toupper This was the only remaining use of toupper in the entire source code. Suggested-by: Daniel Stenberg --- diff --git a/lib/curl_ntlm_core.c b/lib/curl_ntlm_core.c index 25f2a3ad4..aea545295 100644 --- a/lib/curl_ntlm_core.c +++ b/lib/curl_ntlm_core.c @@ -522,7 +522,7 @@ static void ascii_uppercase_to_unicode_le(unsigned char *dest, { size_t i; for(i = 0; i < srclen; i++) { - dest[2 * i] = (unsigned char)(toupper((unsigned char)src[i])); + dest[2 * i] = (unsigned char)(Curl_raw_toupper(src[i])); dest[2 * i + 1] = '\0'; } }