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 e23e254..ab952c8 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)