]> granicus.if.org Git - curl/commitdiff
test1601: fix compilation with --enable-debug and --disable-crypto-auth
authorDan Fandrich <dan@coneharvesters.com>
Fri, 16 Oct 2015 19:43:56 +0000 (21:43 +0200)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 16 Oct 2015 21:04:54 +0000 (23:04 +0200)
tests/unit/unit1601.c

index 17aba05f5e3c3078b8b73c197c71ea5c74397222..5f5900243f022b5e8d71c2a2e174328918f9e90a 100644 (file)
@@ -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