On Wed, Apr 18, 2001 at 03:47:27PM +0200, Bodo Moeller wrote:
>> This fix seems reasonable.
> Except for the deadlock. add_do_not_lock must be set *before* RAND_poll
> is called if the lock is held at that time.
Actually, add_do_not_lock is broken too: When one thread has set
add_do_not_lock in ssleay_rand_bytes(), then a second thread
that uses ssleay_rand_add() will continue without blocking.
Obviously this is something that the locks are intended to prevent.
--
Bodo Möller <[EMAIL PROTECTED]>
PGP http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/moeller/0x36d2c658.html
* TU Darmstadt, Theoretische Informatik, Alexanderstr. 10, D-64283 Darmstadt
* Tel. +49-6151-16-6628, Fax +49-6151-16-6036
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]