diff options
Diffstat (limited to 'src/entropy')
-rw-r--r-- | src/entropy/proc_walk/es_ftw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entropy/proc_walk/es_ftw.cpp b/src/entropy/proc_walk/es_ftw.cpp index f92a0cf82..1ad6c56b6 100644 --- a/src/entropy/proc_walk/es_ftw.cpp +++ b/src/entropy/proc_walk/es_ftw.cpp @@ -136,7 +136,7 @@ u32bit FTW_EntropySource::slow_poll(byte buf[], u32bit length) ssize_t got = ::read(fd, read_buf.begin(), read_buf.size()); - if(got > 0 && got <= read_buf.size()) + if(got > 0) { buf_i = xor_into_buf(buf, buf_i, length, read_buf, got); |