summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2015-10-16 21:43:56 +0200
committerDan Fandrich <dan@coneharvesters.com>2015-10-16 23:04:54 +0200
commit3fde8a4971d2a1645c3162eb3ecfcd222d426820 (patch)
tree2fe61aa2223a5139c82fe7034ba1797342975eb0
parent443e81ea47bcb6e60903cf3954cfe907217f05e9 (diff)
downloadcurl-3fde8a4971d2a1645c3162eb3ecfcd222d426820.tar.gz
test1601: fix compilation with --enable-debug and --disable-crypto-auth
-rw-r--r--tests/unit/unit1601.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/unit1601.c b/tests/unit/unit1601.c
index 17aba05f5..5f5900243 100644
--- a/tests/unit/unit1601.c
+++ b/tests/unit/unit1601.c
@@ -35,6 +35,7 @@ static void unit_stop(void)
UNITTEST_START
+#ifndef CURL_DISABLE_CRYPTO_AUTH
unsigned char output[16];
unsigned char *testp = output;
Curl_md5it(output, (const unsigned char *)"1");
@@ -46,6 +47,7 @@ UNITTEST_START
verify_memory(testp,
"\x88\x67\x0b\x6d\x5d\x74\x2f\xad\xa5\xcd\xf9\xb6\x82\x87\x5f\x22", 16);
+#endif
UNITTEST_STOP