diff options
author | lloyd <[email protected]> | 2013-11-08 22:16:30 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2013-11-08 22:16:30 +0000 |
commit | d0344789f56cf8c66cdc10863eb6e5fde5f613c7 (patch) | |
tree | ce3ec7ddd3277ae852e4404b3517684f202cb18c /src/entropy/unix_procs/es_unix.cpp | |
parent | 4de7766e6fc1c61ba0b483b228342e00c6d855af (diff) |
Use a page size buffer as we are reading from a pipe
Diffstat (limited to 'src/entropy/unix_procs/es_unix.cpp')
-rw-r--r-- | src/entropy/unix_procs/es_unix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entropy/unix_procs/es_unix.cpp b/src/entropy/unix_procs/es_unix.cpp index f72a691d2..1c6b53ede 100644 --- a/src/entropy/unix_procs/es_unix.cpp +++ b/src/entropy/unix_procs/es_unix.cpp @@ -93,7 +93,7 @@ void Unix_EntropySource::poll(Entropy_Accumulator& accum) const size_t MINIMAL_WORKING = 16; - secure_vector<byte>& io_buffer = accum.get_io_buffer(DEFAULT_BUFFERSIZE); + secure_vector<byte>& io_buffer = accum.get_io_buffer(4*1024); for(size_t i = 0; i != sources.size(); i++) { |