1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

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
This commit is contained in:
Marcel Raad 2017-06-05 00:27:29 +02:00
parent 6b9f4f7f0f
commit 7960442730
No known key found for this signature in database
GPG Key ID: B4668817AE6D6CD4

View File

@ -522,7 +522,7 @@ static void ascii_uppercase_to_unicode_le(unsigned char *dest,
{ {
size_t i; size_t i;
for(i = 0; i < srclen; 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'; dest[2 * i + 1] = '\0';
} }
} }