On Mon, 24 Feb 2003 20:13:31 +0100, Folkert van Heusden wrote:
>Hi,

>I found out (yes, the rought way) that openssl is not
>thread-safe: 2 threads doing encryption & decryption
>concurrent goes horribly wrong.

        Two threads accessing the same connection at the same time won't
work. Otherwise, OpenSSL is thread safe.

>So, my questions are:
>- am I doing something and IS openssl threadsafe?
>- is there an alternative for openssl doing which also
>does the key-exchange for me?

        Just implement your own per-connection mutex and you won't have any
problems.

        DS


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

Reply via email to