diff options
author | Marcel Raad <raad@teamviewer.com> | 2017-06-05 00:27:29 +0200 |
---|---|---|
committer | Marcel Raad <raad@teamviewer.com> | 2017-06-05 00:27:29 +0200 |
commit | 796044273009a4ffc2b85eaebf0d44e427c3d8f4 (patch) | |
tree | c20fb4b8c23aa82a4e84604fdd48feef5d6f9f0a | |
parent | 6b9f4f7f0f66aa083f69cfdb0373df989e583a2c (diff) |
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
-rw-r--r-- | lib/curl_ntlm_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
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'; } } |