From 04e7a6b70da79d2e629ff4157d1a1d2652c907d0 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sat, 28 Nov 2015 11:52:20 -0500 Subject: Add differential compression test. Change getrusage output to static system data since it is sparse and changes rarely, and so actually does trigger the differential test. --- src/lib/entropy/unix_procs/unix_procs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/entropy') diff --git a/src/lib/entropy/unix_procs/unix_procs.cpp b/src/lib/entropy/unix_procs/unix_procs.cpp index 59bb35785..44d9772e5 100644 --- a/src/lib/entropy/unix_procs/unix_procs.cpp +++ b/src/lib/entropy/unix_procs/unix_procs.cpp @@ -76,7 +76,7 @@ void UnixProcessInfo_EntropySource::poll(Entropy_Accumulator& accum) struct ::rusage usage; ::getrusage(RUSAGE_SELF, &usage); - accum.add(usage, BOTAN_ENTROPY_ESTIMATE_SYSTEM_DATA); + accum.add(usage, BOTAN_ENTROPY_ESTIMATE_STATIC_SYSTEM_DATA); } void Unix_EntropySource::Unix_Process::spawn(const std::vector& args) -- cgit v1.2.3