mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 11:17:29 +02:00
Added the WOLFSSL_NO_MALLOC
option for the realloc callback as well.
This commit is contained in:
@ -154,7 +154,11 @@ void* wolfSSL_Realloc(void *ptr, size_t size)
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
#ifndef WOLFSSL_NO_MALLOC
|
||||
res = realloc(ptr, size);
|
||||
#else
|
||||
WOLFSSL_MSG("No realloc available");
|
||||
#endif
|
||||
}
|
||||
|
||||
return res;
|
||||
|
Reference in New Issue
Block a user