On Wed, Jul 07, 1999 at 08:46:29AM +0200, Bodo Moeller wrote:

> >> is the SSL library safe in a multi-threaded environment ?

[...]
> Also you have to provide a callback that returns a thread ID (unless
> you're using Windows, where OpenSSL already knows how to obtain the
> thread ID from the OS).

And in addition to that, each thread that uses OpenSSL (and ever sees
an OpenSSL error) has to call ERR_remove_state(0); before exiting, or
you have a memory leak.  (Again, this will happen automatically if you
use OpenSSL as a Windows DLL.)
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to