[sr-dev] [kamailio/kamailio] TLS module: Unable to load tls module (#1797)

Henning Westerholt notifications at github.com
Fri Jan 11 00:01:31 CET 2019


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



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1797#issuecomment-453290603
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190110/f8997112/attachment-0001.html>


More information about the sr-dev mailing list