Skip to content

Commit

Permalink
with FREERTOS and OPENSSL_ALL add XREMALLOC define
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobBarthelmeh committed Jul 1, 2024
1 parent 98a5a4c commit 72aa6ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wolfssl/wolfcrypt/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit 72aa6ad

Please sign in to comment.