From 72aa6ad178557c67171f67753d85a010733df151 Mon Sep 17 00:00:00 2001 From: JacobBarthelmeh Date: Mon, 1 Jul 2024 11:00:47 -0600 Subject: [PATCH] with FREERTOS and OPENSSL_ALL add XREMALLOC define --- wolfssl/wolfcrypt/settings.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wolfssl/wolfcrypt/settings.h b/wolfssl/wolfcrypt/settings.h index a4302c700f..7d5d788d54 100644 --- a/wolfssl/wolfcrypt/settings.h +++ b/wolfssl/wolfcrypt/settings.h @@ -1087,7 +1087,8 @@ extern void uITRON4_free(void *p) ; * heap_caps_realloc(p, s, MALLOC_CAP_8BIT) * There's no pvPortRealloc available: */ #define XREALLOC(p, n, h, t) ((void)(h), (void)(t), realloc((p), (n))) - #elif defined(USE_INTEGER_HEAP_MATH) || defined(OPENSSL_EXTRA) + #elif defined(USE_INTEGER_HEAP_MATH) || defined(OPENSSL_EXTRA) || \ + defined(OPENSSL_ALL) /* FreeRTOS pvPortRealloc() implementation can be found here: * https://github.com/wolfSSL/wolfssl-freertos/pull/3/files */ #define XREALLOC(p, n, h, t) ((void)(h), (void)(t), pvPortRealloc((p), (n)))