From 24d93c90cdb9a6a1fe88778e13eedd9f0fda8196 Mon Sep 17 00:00:00 2001 From: kaleb-himes Date: Tue, 16 Feb 2016 12:03:37 -0700 Subject: [PATCH] update for configure option --disable-sha --- wolfcrypt/test/test.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index bb55afff1..b025dbf74 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -6172,8 +6172,9 @@ int ecc_test(void) WC_RNG rng; byte sharedA[1024]; byte sharedB[1024]; -#if !defined(NO_SHA) && \ - ((defined(HAVE_ECC192) && defined(HAVE_ECC224)) || defined(HAVE_ALL_CURVES)) +#if !defined(NO_ASN) || \ + ( !defined(NO_SHA) && ((defined(HAVE_ECC192) && defined(HAVE_ECC224)) \ + || defined(HAVE_ALL_CURVES))) byte sig[1024]; int verify; #endif