From d68f3cf63ce402b05a318305915e7a67720be1c7 Mon Sep 17 00:00:00 2001 From: JacobBarthelmeh Date: Tue, 30 Apr 2024 16:43:01 -0600 Subject: [PATCH] add macro guard around test case --- 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 3a34454a77..d8f4e8c28e 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -2016,7 +2016,7 @@ options: [-s max_relative_stack_bytes] [-m max_relative_heap_memory_bytes]\n\ #endif #endif -#ifndef OPENSSL_EXTRA +#if defined(WOLFSSL_STATIC_MEMORY) && !defined(OPENSSL_EXTRA) wolfSSL_SetGlobalHeapHint(NULL); #endif TEST_PASS("Test complete\n");