diff options
author | Bodo Möller <bodo@openssl.org> | 2001-01-12 15:16:21 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2001-01-12 15:16:21 +0000 |
commit | cc85ec447b65509070a50414664d62d397701df9 (patch) | |
tree | bc7ae460a16d2a98e43e954d9f6dbaedc51459ee /crypto/rand/rand_win.c | |
parent | c67cdb50d2ef09c917c96d8a7e8a65d698ed9b8c (diff) |
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).
Diffstat (limited to 'crypto/rand/rand_win.c')
-rw-r--r-- | crypto/rand/rand_win.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/rand/rand_win.c b/crypto/rand/rand_win.c index e1beef622e..56558c4f15 100644 --- a/crypto/rand/rand_win.c +++ b/crypto/rand/rand_win.c @@ -254,6 +254,10 @@ int RAND_poll(void) * at random times on Windows 2000. Reported by Jeffrey Altman. * 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 && osverinfo.dwMajorVersion < 5) { @@ -290,6 +294,7 @@ int RAND_poll(void) if (buf) free(buf); } +#endif if (advapi) { |