Old mail thread 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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.