Topic: [SOLVED] Passing void *user from wolfSSL_new() to XMALLOC()
Hi All,
We have created a custom implementation of XMALLOC() that uses the 'type' argument to divert some requests into conventional glibc malloc(), and others into our internal mechanism.
Our internal mechanism wants to return an address that's an offset relative to 'void *heap' passed to XMALLOC().
In short, we want to use 'void *heap' for our own purposes, and set this prior to every call to wolfSSL_new().
Is this possible?
A.