summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rand/rand_unix.c
diff options
context:
space:
mode:
authordjm <>2009-04-06 06:30:08 +0000
committerdjm <>2009-04-06 06:30:08 +0000
commit5d1f64994b96668ba794f5211364ed54dd7ee08d (patch)
tree6e736297805c79ec70ef2ba631b5dbb38c60ef68 /src/lib/libcrypto/rand/rand_unix.c
parent76dd4d55fdccad54d20608e7caf577b9d67b216f (diff)
downloadopenbsd-5d1f64994b96668ba794f5211364ed54dd7ee08d.tar.gz
openbsd-5d1f64994b96668ba794f5211364ed54dd7ee08d.tar.bz2
openbsd-5d1f64994b96668ba794f5211364ed54dd7ee08d.zip
import of OpenSSL 0.9.8k
Diffstat (limited to 'src/lib/libcrypto/rand/rand_unix.c')
-rw-r--r--src/lib/libcrypto/rand/rand_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rand/rand_unix.c b/src/lib/libcrypto/rand/rand_unix.c
index 6c2be5cb96..71b98ec212 100644
--- a/src/lib/libcrypto/rand/rand_unix.c
+++ b/src/lib/libcrypto/rand/rand_unix.c
@@ -232,7 +232,7 @@ int RAND_poll(void)
232 t.tv_sec = 0; 232 t.tv_sec = 0;
233 t.tv_usec = usec; 233 t.tv_usec = usec;
234 234
235 if (FD_SETSIZE > 0 && fd >= FD_SETSIZE) 235 if (FD_SETSIZE > 0 && (unsigned)fd >= FD_SETSIZE)
236 { 236 {
237 /* can't use select, so just try to read once anyway */ 237 /* can't use select, so just try to read once anyway */
238 try_read = 1; 238 try_read = 1;