I assume Stephen mentionned EVP_CIPHER_CTX because he wasn't sure which "ctx" you were talking about.
I can garantee you that shared SSL_CTX work fine, as long as the mutexes are initialized the proper way.
Did you try to use one SSL_CTX per thread to see if it worked ? If you have a problem with this setup then it must be coming from your code, and you might want to post your initialization code in the NG.


Regards,
--
FrÃdÃric Giudicelli
http://www.newpki.org


Alberto Alonso wrote:


Actually I already initialize the locking callbacks. What got me
confused is the EVP_CIPHER_CTX stuff as I have never seen that.

Thanks,

Alberto


On Fri, 2004-02-20 at 17:33, FrÃdÃric Giudicelli wrote:


If you share the return of the SSL_CTX_new call, then you need to initialize the mutexes in libcrypto, see CRYPTO_set_locking_callback for this.
The second option is to have one SSL_CTX per thread, as mentionned by Stephen.


Regards,

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

Reply via email to