Hi!

ssleay_rand_initialize(void) unlocks and later locks the CRYPTO_LOCK_RAND.
RAND_status does not lock CRYPTO_LOCK_RAND and eventually calls
ssleay_rand_initialize.
In this case the lock is never unlocked. Later calls from other threads are
deadlocked.

The whole concept of how initialization is implemented seems to allow race
conditions.

Can you confirm these problems?

Regards,

  Andreas


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

Reply via email to