Hi,
   I'm having a small query regarding the thread safety of the OpenSSL library.
 OpenSSL provide some set of Static Locking Callbacks and Dynamic
locking callbacks to ensure the thread safety of the OpenSSL data
structures. But if the application using the OpenSSL, implements its
own locking mechanism while accessing the SSL calls
(SSL_Connect,SSL_Read e.t.c) then is it necessary to implment those
callbacks also?

 i.e

code like this

Thread1
{

lock (a)
SSL_Connect(pSSL)
unlock(a)

}

Thread2
{
lock (a);
SSL_accept(pSSL);
unlok(a);
}
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to