diff options
author | Ulf Möller <ulf@openssl.org> | 2000-09-15 04:20:40 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2000-09-15 04:20:40 +0000 |
commit | 1949e783363ef21bff29d083ad6a9498e328e1bc (patch) | |
tree | 07fcc73218e4afe554d2cc705ec4e2e95faca48a /crypto | |
parent | 2273d6b657183ef19b59f20e1c6c127915a746cb (diff) |
Jeffrey Altman points out that GetQueueStatus() crashes on NT.
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/rand/rand_win.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/crypto/rand/rand_win.c b/crypto/rand/rand_win.c index 3119200cd8..5dc186f78d 100644 --- a/crypto/rand/rand_win.c +++ b/crypto/rand/rand_win.c @@ -242,11 +242,9 @@ int RAND_poll(void) { GETCURSORINFO cursor; GETFOREGROUNDWINDOW win; - GETQUEUESTATUS queue; win = (GETFOREGROUNDWINDOW) GetProcAddress(user, "GetForegroundWindow"); cursor = (GETCURSORINFO) GetProcAddress(user, "GetCursorInfo"); - queue = (GETQUEUESTATUS) GetProcAddress(user, "GetQueueStatus"); if (win) { @@ -263,13 +261,6 @@ int RAND_poll(void) if (cursor(p)) RAND_add(p+sizeof(p->cbSize), p->cbSize-sizeof(p->cbSize), 0); } - - if (queue) - { - /* message queue status */ - w = queue(QS_ALLEVENTS); - RAND_add(&w, sizeof(w), 0); - } } /* Toolhelp32 snapshot: enumerate processes, threads, modules and heap |