Skip to content

Commit

Permalink
Merge pull request wolfSSL#7701 from JacobBarthelmeh/testing1
Browse files Browse the repository at this point in the history
with FREERTOS and OPENSSL_ALL add XREMALLOC define
  • Loading branch information
dgarske authored Jul 10, 2024
2 parents 2543674 + 72aa6ad commit 9bd0985
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 9bd0985

Please sign in to comment.