From d0344789f56cf8c66cdc10863eb6e5fde5f613c7 Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 8 Nov 2013 22:16:30 +0000 Subject: Use a page size buffer as we are reading from a pipe --- src/entropy/unix_procs/es_unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/entropy/unix_procs/es_unix.cpp') 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& io_buffer = accum.get_io_buffer(DEFAULT_BUFFERSIZE); + secure_vector& io_buffer = accum.get_io_buffer(4*1024); for(size_t i = 0; i != sources.size(); i++) { -- cgit v1.2.3