We use a static initializer in our dynamic library to seed openssl's
PRNG by calling RAND_screen on Windows.  We've noticed curious behavior
on WINNT 4.0 where RAND_poll hangs on the Windows registry function,
RegQueryValueEx, when trying to extract performance behavior.

There is a documented bug with the ANSI version of RegQueryValueEx (KB
Q226371) and they suggest
using the UNICODE version of it directly, yet it still hangs even with
that version. 

For the time being, we removed the section where it polls the
performance data entirely and that works.

For the record, we're using OpenSSL 0.9.6c, WINNT 4.0 with MSVC++ 6.


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

Reply via email to