[sr-dev] libressl support

Timo Teras timo.teras at iki.fi
Mon May 1 07:28:01 CEST 2017


Hi,

I'm trying to fix tls.so to work with libressl. And there was already
one commit handling some of the api differences.

The next problem is that libressl ships the memory allocator changing
function, but it's a stub that just returns "not supported".

It seems that kamailio module does not load unless it can make libssl
use shm_alloc. I'm wondering if this is a hard requirement? Does the
tls module share libtls allocated things amongs forks? Or this purely
to track memory in kamailio framework?

If it's hard dependency is there any way to workaround this libressl
design decision?

I think one option to try is to just implement the CRYPTO_* allocation
function in kamailio main executable - they should then take preference
over the libcrypto ones. Thoughts?

Thanks,
Timo



More information about the sr-dev mailing list