mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
Disable RegQueryValueEx() call.
Problem reported by "Wolfgang Marczy" <WMarczy@topcall.co.at> in a message to openssl-dev (19 Dec 2000 13:40:51 +0100).
This commit is contained in:
parent
c67cdb50d2
commit
cc85ec447b
@ -254,6 +254,10 @@ int RAND_poll(void)
|
|||||||
* at random times on Windows 2000. Reported by Jeffrey Altman.
|
* at random times on Windows 2000. Reported by Jeffrey Altman.
|
||||||
* Only use it on NT.
|
* Only use it on NT.
|
||||||
*/
|
*/
|
||||||
|
/* Wolfgang Marczy <WMarczy@topcall.co.at> reports that
|
||||||
|
* the RegQueryValueEx call below can hang on NT4.0 (SP6).
|
||||||
|
* So we don't use this at all for now. */
|
||||||
|
#if 0
|
||||||
if ( osverinfo.dwPlatformId == VER_PLATFORM_WIN32_NT &&
|
if ( osverinfo.dwPlatformId == VER_PLATFORM_WIN32_NT &&
|
||||||
osverinfo.dwMajorVersion < 5)
|
osverinfo.dwMajorVersion < 5)
|
||||||
{
|
{
|
||||||
@ -290,6 +294,7 @@ int RAND_poll(void)
|
|||||||
if (buf)
|
if (buf)
|
||||||
free(buf);
|
free(buf);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (advapi)
|
if (advapi)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user