aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-11-10 16:26:26 +0000
committerlloyd <[email protected]>2013-11-10 16:26:26 +0000
commit1f93e819b251483fa2e4e53494fedf34c5f451b2 (patch)
tree70091cef2fb7b32eed2fcc3afa07ec558259456e /src/libstate
parent8758cc592f01050f13618c24491acc86f36fc874 (diff)
Split off Unix_EntropySource's fast_poll to a new source
Diffstat (limited to 'src/libstate')
-rw-r--r--src/libstate/global_rng.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstate/global_rng.cpp b/src/libstate/global_rng.cpp
index 631d81bce..db857b41d 100644
--- a/src/libstate/global_rng.cpp
+++ b/src/libstate/global_rng.cpp
@@ -57,6 +57,10 @@ std::vector<std::unique_ptr<EntropySource>> Library_State::entropy_sources()
sources.push_back(std::unique_ptr<EntropySource>(new Intel_Rdrand));
#endif
+#if defined(BOTAN_HAS_ENTROPY_SRC_UNIX_PROCESS_RUNNER)
+ sources.push_back(std::unique_ptr<EntropySource>(new UnixProcessInfo_EntropySource));
+#endif
+
#if defined(BOTAN_HAS_ENTROPY_SRC_DEV_RANDOM)
sources.push_back(std::unique_ptr<EntropySource>(new Device_EntropySource(
{ "/dev/random", "/dev/srandom", "/dev/urandom" }