aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/entropy
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-11-28 11:52:20 -0500
committerJack Lloyd <[email protected]>2015-11-28 11:52:20 -0500
commit04e7a6b70da79d2e629ff4157d1a1d2652c907d0 (patch)
treef0d7139c1d2a06002d1b25f5c3037ff7ec7e3f96 /src/lib/entropy
parent62cad8095bdf68a339e219d3d78ab7a977e87e91 (diff)
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.
Diffstat (limited to 'src/lib/entropy')
-rw-r--r--src/lib/entropy/unix_procs/unix_procs.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::string>& args)