<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 8/22/13 10:28 AM, Roberto Fichera
      wrote:<br>
    </div>
    <blockquote cite="mid:5215CBA7.5000304@tekno-soft.it" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      [...]<br>
      <blockquote cite="mid:5215CA6F.2020105@gmail.com" type="cite">
        <blockquote cite="mid:5215B70D.6070402@tekno-soft.it"
          type="cite"> Unfortunately not! I haven't found yet a solution
          to workaround the openssl patch! <br>
          I guess we cannot easily workaround inside the kamailio tls
          module since the <br>
          problem is strictly related to openssl.<br>
        </blockquote>
        Can you share the openssl patch? Maybe we find a solution
        together here...<br>
      </blockquote>
      <br>
      Sure! See below<br>
      <br>
      diff -urN openssl-1.0.1e/crypto/mem.c openssl-1.0.1e/crypto/mem.c<br>
      --- openssl-1.0.1e/crypto/mem.c    2013-02-11 16:26:04.000000000
      +0100<br>
      +++ openssl-1.0.1e/crypto/mem.c    2013-08-20 12:44:01.375906737
      +0200<br>
      @@ -125,7 +125,7 @@<br>
           void (*f)(void *))<br>
           {<br>
           /* Dummy call just to ensure OPENSSL_init() gets linked in */<br>
      -    OPENSSL_init();<br>
      +    static void *ptr = (void*)OPENSSL_init;<br>
           if (!allow_customize)<br>
               return 0;<br>
           if ((m == 0) || (r == 0) || (f == 0))<br>
    </blockquote>
    <br>
    Indeed, this one is not possible to fix in our module, because the
    function sets some static variables, so it has to be in that file.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
</pre>
  </body>
</html>