projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move _WIN32_WINNT definition from command line to e_os.h. The change is
[openssl.git]
/
crypto
/
rand
/
rand_win.c
diff --git
a/crypto/rand/rand_win.c
b/crypto/rand/rand_win.c
index 39523d3005a7da238006795585d6b4d92308ea7d..47bf75828296d208b9384f154f0cd994b4f24b45 100644
(file)
--- a/
crypto/rand/rand_win.c
+++ b/
crypto/rand/rand_win.c
@@
-632,7
+632,8
@@
int RAND_event(UINT iMsg, WPARAM wParam, LPARAM lParam)
void RAND_screen(void) /* function available for backward compatibility */
{
RAND_poll();
- readscreen();
+ if (GetVersion() >= 0x80000000 || !OPENSSL_isservice())
+ readscreen();
}