summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2023-05-11 09:06:33 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2023-05-13 09:57:35 +0200
commite587598534c0f35436d11ae3f1cf92f5729c2a9e (patch)
treea8981dc27897af8bfca12b975cc7ac7195f63bae /tests
parentde2542f3f2b8399bfed3248e48abc778a16a2460 (diff)
downloadcurl-e587598534c0f35436d11ae3f1cf92f5729c2a9e.tar.gz
md4: only build when used
Its only usage in curl_ntlm_core.c is guarded by `USE_CURL_NTLM_CORE`, so let's use this here too. Ref: https://github.com/curl/curl/issues/11098 Closes https://github.com/curl/curl/pull/11102
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/unit1611.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/unit1611.c b/tests/unit/unit1611.c
index 16634234d..0062ac6c3 100644
--- a/tests/unit/unit1611.c
+++ b/tests/unit/unit1611.c
@@ -37,7 +37,7 @@ static void unit_stop(void)
UNITTEST_START
-#ifndef CURL_DISABLE_CRYPTO_AUTH
+#ifdef USE_CURL_NTLM_CORE
const char string1[] = "1";
const char string2[] = "hello-you-fool";
unsigned char output[MD4_DIGEST_LENGTH];