On 03/25/10 02:13 PM, Mark Phalan wrote:

The threads(3) manpage states that to use OpenSSL in multi-threaded
applications then locking callback functions must be set otherwise
random crashes may occur.

This poses a challenge when using OpenSSL in a library which should be
MT safe. There is no safe way to set the locking callbacks from within
the library itself.

I should also point out that libraries are setting the callbacks already. libldap_r (openldap) for example. I haven't done an extensive survey of common opensource libraries but I'm sure openldap isn't alone out there.

-M
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to