Added the WOLFSSL_NO_MALLOC
option for the realloc callback as well.
This commit is contained in:
parent
8285648e46
commit
8c8ed06202
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user