summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rand/rand_unix.c
diff options
context:
space:
mode:
authordjm <>2009-04-06 06:33:20 +0000
committerdjm <>2009-04-06 06:33:20 +0000
commit02266ad76553362863ec35a28c86ea7a4f5acdf9 (patch)
tree647f179fa8dcccf50c436cc0165a1d67476a936e /src/lib/libcrypto/rand/rand_unix.c
parentd9de323e6e6b00c0f5eda2fd1399c8c51cdb19c4 (diff)
downloadopenbsd-02266ad76553362863ec35a28c86ea7a4f5acdf9.tar.gz
openbsd-02266ad76553362863ec35a28c86ea7a4f5acdf9.tar.bz2
openbsd-02266ad76553362863ec35a28c86ea7a4f5acdf9.zip
resolve conflicts
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 964d25833c..58c6173094 100644
--- a/src/lib/libcrypto/rand/rand_unix.c
+++ b/src/lib/libcrypto/rand/rand_unix.c
@@ -226,7 +226,7 @@ int RAND_poll(void)
226 t.tv_sec = 0; 226 t.tv_sec = 0;
227 t.tv_usec = usec; 227 t.tv_usec = usec;
228 228
229 if (FD_SETSIZE > 0 && fd >= FD_SETSIZE) 229 if (FD_SETSIZE > 0 && (unsigned)fd >= FD_SETSIZE)
230 { 230 {
231 /* can't use select, so just try to read once anyway */ 231 /* can't use select, so just try to read once anyway */
232 try_read = 1; 232 try_read = 1;