Thank you very much. You are great help. I am good to go now.

Thank again 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marek Marcola
Sent: Monday, November 06, 2006 13:26
To: openssl-users@openssl.org
Subject: RE: Error accepting connections

Hello,
> I have a openssl ssl socket is shared by two threads, one and only 
> thread should use this socket at any time. Then on top of tls_init(), 
> do I have to put Mutex around my socket ??? Does  tls_init() use to 
> protect openssl internal strucure only ??
This locking callbacks are for internal OpenSSL use only.
If you have two threads with one SSL connection then you should guard
access to SSL object by additional mutex.

Best regards,
--
Marek Marcola <[EMAIL PROTECTED]>

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

Reply via email to