diff options
author | djm <> | 2009-04-06 06:30:08 +0000 |
---|---|---|
committer | djm <> | 2009-04-06 06:30:08 +0000 |
commit | 5d1f64994b96668ba794f5211364ed54dd7ee08d (patch) | |
tree | 6e736297805c79ec70ef2ba631b5dbb38c60ef68 /src/lib/libcrypto/rand/rand_unix.c | |
parent | 76dd4d55fdccad54d20608e7caf577b9d67b216f (diff) | |
download | openbsd-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.c | 2 |
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; |