On Sun, May 29, 2005 at 03:43:33PM +0200, Nadav Golombick wrote:

> If I am using only 2 threads with each thread containing its own SSL_CTX 
> object, do I still need to use locking functions?

Yes!  This is very important because OpenSSL uses some global data
structures that will be shared by all threads, with access coordinated
through locks.  (This includes error book-keeping and the
pseudo-random number generator.)

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to