From: Dan Fandrich Date: Fri, 16 Oct 2015 19:43:56 +0000 (+0200) Subject: test1601: fix compilation with --enable-debug and --disable-crypto-auth X-Git-Tag: curl-7_46_0~153 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fde8a4971d2a1645c3162eb3ecfcd222d426820;p=thirdparty%2Fcurl.git test1601: fix compilation with --enable-debug and --disable-crypto-auth --- diff --git a/tests/unit/unit1601.c b/tests/unit/unit1601.c index 17aba05f5e..5f5900243f 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