aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/rand
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2005-04-19 00:12:36 +0000
committerDr. Stephen Henson <steve@openssl.org>2005-04-19 00:12:36 +0000
commitf68854b4c344ed6ebf1893055bd63654849996e1 (patch)
tree6ff42991d0bc7b4bfbcf69cc5736c49a52650de6 /crypto/rand
parent1cfd258ed61721ef667ea8a6ca46b57f3765007e (diff)
downloadopenssl-f68854b4c344ed6ebf1893055bd63654849996e1.tar.gz
Various Win32 and other fixes for warnings and compilation errors.
Fix Win32 build system to use 'Makefile' instead of 'Makefile.ssl'.
Diffstat (limited to 'crypto/rand')
-rw-r--r--crypto/rand/rand_win.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/rand/rand_win.c b/crypto/rand/rand_win.c
index 29472c6ddd..39523d3005 100644
--- a/crypto/rand/rand_win.c
+++ b/crypto/rand/rand_win.c
@@ -558,7 +558,8 @@ int RAND_poll(void)
if (module_first(handle, &m))
do
RAND_add(&m, m.dwSize, 9);
- while (module_next(handle, &m) && GetTickCount < stoptime);
+ while (module_next(handle, &m)
+ && (GetTickCount() < stoptime));
if (close_snap)
close_snap(handle);
else