diff options
author | Steve Holme <steve_holme@hotmail.com> | 2015-01-02 16:28:03 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2015-01-02 16:28:03 +0000 |
commit | 34f0bd110fb61d03c25fe6bd1109432d7399ccb1 (patch) | |
tree | f98b4e6c2a44a22edbfd38a3914aceabfaad2d17 /lib | |
parent | a75ede4b9b525bcb9c523de8d9bd0abeb1302bc8 (diff) |
curl_ntlm_core.c: Fixed compilation warning
curl_ntlm_core.c:458: warning: 'ascii_uppercase_to_unicode_le' defined
but not used
Diffstat (limited to 'lib')
-rw-r--r-- | lib/curl_ntlm_core.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/curl_ntlm_core.c b/lib/curl_ntlm_core.c index 299e1afea..0c9a352fe 100644 --- a/lib/curl_ntlm_core.c +++ b/lib/curl_ntlm_core.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -455,6 +455,8 @@ static void ascii_to_unicode_le(unsigned char *dest, const char *src, } } +#if USE_NTLM_V2 && !defined(USE_WINDOWS_SSPI) + static void ascii_uppercase_to_unicode_le(unsigned char *dest, const char *src, size_t srclen) { @@ -465,6 +467,8 @@ static void ascii_uppercase_to_unicode_le(unsigned char *dest, } } +#endif /* USE_NTLM_V2 && !USE_WINDOWS_SSPI */ + /* * Set up nt hashed passwords */ @@ -715,7 +719,7 @@ CURLcode Curl_ntlm_core_mk_lmv2_resp(unsigned char *ntlmv2hash, return result; } -#endif /* !USE_WINDOWS_SSPI */ +#endif /* USE_NTLM_V2 && !USE_WINDOWS_SSPI */ #endif /* USE_NTRESPONSES */ |