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]