aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/buildh.in
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-11-03 12:37:45 -0400
committerJack Lloyd <[email protected]>2016-11-03 12:37:45 -0400
commite42d1513fd6f80dcd2ae4109fddf53b61e935116 (patch)
tree014a3b59a1578fa527068ca0dffd587a576ac105 /src/build-data/buildh.in
parent806a2d4e415fcabcd40ac7791cafc03be5a89501 (diff)
Remove unused values from build.h
Have the /proc setting in build.h actually control the entropy source configuration (!) GH #708
Diffstat (limited to 'src/build-data/buildh.in')
-rw-r--r--src/build-data/buildh.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in
index 4a2a46452..fe5210698 100644
--- a/src/build-data/buildh.in
+++ b/src/build-data/buildh.in
@@ -128,12 +128,17 @@
*/
#define BOTAN_SYSTEM_RNG_POLL_DEVICES { "/dev/urandom", "/dev/random", "/dev/srandom" }
+/*
+* This directory will be monitored by ProcWalking_EntropySource and
+* the contents provided as entropy inputs to the RNG. May also be
+* usefully set to something like "/sys", depending on the system being
+* deployed to. Set to an empty string to disable.
+*/
+#define BOTAN_ENTROPY_PROC_FS_PATH "/proc"
+
#define BOTAN_SYSTEM_RNG_POLL_REQUEST 64
#define BOTAN_SYSTEM_RNG_POLL_TIMEOUT_MS 20
-#define BOTAN_ENTROPY_EGD_PATHS { "/var/run/egd-pool", "/dev/egd-pool" }
-#define BOTAN_ENTROPY_PROC_FS_PATH "/proc"
-#define BOTAN_ENTROPY_SAFE_PATHS { "/bin", "/sbin", "/usr/bin", "/usr/sbin" }
/*
How many times to read from the RDRAND/RDSEED RNGs.