diff options
-rw-r--r-- | lib/curl_sasl.h | 2 | ||||
-rw-r--r-- | lib/curl_sasl_sspi.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/curl_sasl.h b/lib/curl_sasl.h index 6d15c708c..12f78404c 100644 --- a/lib/curl_sasl.h +++ b/lib/curl_sasl.h @@ -76,9 +76,7 @@ CURLcode Curl_sasl_create_cram_md5_message(struct SessionHandle *data, const char *user, const char *passwdp, char **outptr, size_t *outlen); -#endif -#if !defined(CURL_DISABLE_CRYPTO_AUTH) || defined(USE_WINDOWS_SSPI) /* This is used to decode a base64 encoded DIGEST-MD5 challange message */ CURLcode Curl_sasl_decode_digest_md5_message(const char *chlg64, char *nonce, size_t nlen, diff --git a/lib/curl_sasl_sspi.c b/lib/curl_sasl_sspi.c index e9eaf3230..9b67498e9 100644 --- a/lib/curl_sasl_sspi.c +++ b/lib/curl_sasl_sspi.c @@ -25,7 +25,7 @@ #include "curl_setup.h" -#if defined(USE_WINDOWS_SSPI) +#if defined(USE_WINDOWS_SSPI) && !defined(CURL_DISABLE_CRYPTO_AUTH) #include <curl/curl.h> @@ -189,4 +189,4 @@ CURLcode Curl_sasl_create_digest_md5_message(struct SessionHandle *data, return result; } -#endif /* USE_WINDOWS_SSPI */ +#endif /* USE_WINDOWS_SSPI && !CURL_DISABLE_CRYPTO_AUTH */ |