From a48d895cf5e6874f4ae60c803bda17d62edb7a7b Mon Sep 17 00:00:00 2001 From: lloyd Date: Mon, 7 Apr 2008 01:41:17 +0000 Subject: In Botan, the Timer base class provides access to a high-resolution timer with an unspecified update rate and epoch. It is only used inside the entropy sources to provide some timing-dependent randomness. However, it is easier and basically 'as good' to treat the timers as entropy sources in their own right and feed their output directly into an entropy pool. This commit removes Library_State::system_clock and all calls to that function. --- modules/es_unix/es_unix.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'modules/es_unix/es_unix.cpp') diff --git a/modules/es_unix/es_unix.cpp b/modules/es_unix/es_unix.cpp index 3aaf6369a..baa413d55 100644 --- a/modules/es_unix/es_unix.cpp +++ b/modules/es_unix/es_unix.cpp @@ -91,8 +91,6 @@ void Unix_EntropySource::do_slow_poll() u32bit got = 0; for(u32bit j = 0; j != sources.size(); j++) { - add_timestamp(); - DataSource_Command pipe(sources[j].name_and_args, PATH); SecureVector buffer(DEFAULT_BUFFERSIZE); -- cgit v1.2.3