From 42583b52705603261a893b34a7da190a3fe2c987 Mon Sep 17 00:00:00 2001 From: Kareem Abuobeid Date: Thu, 22 Oct 2020 14:48:37 -0700 Subject: [PATCH] Fix wolfrand build failure, caused by defining NO_ASN without NO_CERTS. --- wolfcrypt/test/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index d3d986d79..7bbd703d0 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -3457,7 +3457,7 @@ static int hash_test(void) if (ret != BAD_FUNC_ARG) return -3392; -#ifndef NO_CERTS +#if !defined(NO_CERTS) && !defined(NO_ASN) #if defined(WOLFSSL_MD2) && !defined(HAVE_SELFTEST) ret = wc_GetCTC_HashOID(MD2); if (ret == 0)