summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2015-02-04 22:59:14 +0100
committerDan Fandrich <dan@coneharvesters.com>2015-02-04 22:59:14 +0100
commitd37b58274d6f5c0f9d80ddff9701f91ebf32e072 (patch)
tree898c19699187f08cbc128d158748d9d6b97979d0
parent0d41c3e46b90a3b357ed330ad0ec3466305e365c (diff)
downloadcurl-d37b58274d6f5c0f9d80ddff9701f91ebf32e072.tar.gz
unit1600: Fix compilation when NTLM is disabled
-rw-r--r--tests/unit/unit1600.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/unit1600.c b/tests/unit/unit1600.c
index 6e14d20ef..6803cf336 100644
--- a/tests/unit/unit1600.c
+++ b/tests/unit/unit1600.c
@@ -39,6 +39,7 @@ static void unit_stop(void)
UNITTEST_START
+#if defined(USE_NTLM) && (!defined(USE_WINDOWS_SSPI) || defined(USE_WIN32_CRYPTO))
unsigned char output[21];
unsigned char *testp = output;
Curl_ntlm_core_mk_nt_hash(easy, "1", output);
@@ -57,5 +58,6 @@ UNITTEST_START
verify_memory(testp,
"\x36\x9d\xae\x06\x84\x7e\xe1\xc1\x4a\x94\x39\xea\x6f\x44\x8c\x65\x00\x00\x00\x00\x00", 21);
+#endif
UNITTEST_STOP