Change preferences for sockets of EGD-style entropy daemons to a more
authorLutz Jänicke <jaenicke@openssl.org>
Wed, 7 Feb 2001 14:26:43 +0000 (14:26 +0000)
committerLutz Jänicke <jaenicke@openssl.org>
Wed, 7 Feb 2001 14:26:43 +0000 (14:26 +0000)
reasonable selection.

e_os.h

diff --git a/e_os.h b/e_os.h
index e23e254454bb4c6bd1440e79b2c3beb095b3d4b9..ab952c8f7254f0206fa8a45147f0e9ada395d49c 100644 (file)
--- a/e_os.h
+++ b/e_os.h
@@ -85,7 +85,7 @@ extern "C" {
 /* set this to a comma-seperated list of 'egd' sockets to try out. These
  * sockets will be tried in the order listed in case accessing the device files
  * listed in DEVRANDOM did not return enough entropy. */
-#define DEVRANDOM_EGD "/etc/entropy","/var/run/egd-pool"
+#define DEVRANDOM_EGD "/var/run/egd-pool","/dev/egd-pool","/etc/egd-pool","/etc/entropy"
 #endif
 
 #if defined(__MWERKS__) && defined(macintosh)