[openssl-users] Changing malloc/debug stuff

Nico Williams nico at cryptonector.com
Thu Dec 17 20:13:43 UTC 2015

On Thu, Dec 17, 2015 at 09:28:28AM +0000, Salz, Rich wrote:
> I want to change the memory alloc/debug things.
> Right now there are several undocumented functions to allow you to
> swap-out the malloc/realloc/free routines, wrappers that call those
> routines, debug versions of those wrappers, and functions to set the
> set-options versions of those functions.  Yes, really :)  Is anyone
> using that stuff?

This is another one of those things that isn't easy to deal with sanely
the way OpenSSL is actually used (i.e., by other libraries as well as by

> I want to change the model so that there are three wrappers around
> malloc/realloc/free, and that the only thing you can do is change that
> wrapper.  This is vastly simpler and easier to understand.  I also
> documented it.  A version can be found at
> https://github.com/openssl/openssl/pull/450

This seems much more sane.


More information about the openssl-users mailing list