Old [mail thread](https://lists.kamailio.org/pipermail/sr-users/2013-August/079407.html) from 2013 with a test program:
``` #include <stdio.h> #include <openssl/ssl.h>
static void *myMalloc( size_t s ) { return NULL; } static void *myRealloc( void *p, size_t s ) { return NULL; } static void myFree( void *p ) {}
int main() { if ( !CRYPTO_set_mem_functions( myMalloc, myRealloc, myFree) ) { fprintf( stderr, "Unable to set the memory allocation functions\n"); return -1; } return 0; }
``` Compile with: `gcc -o testssl testssl.c -lssl -lcrypto`
On the opensuse 42.3: $ ./testssl Unable to set the memory allocation functions