Various Win32 related fixed. Make no-krb5 work in mkdef.pl .
[openssl.git] / e_os.h
diff --git a/e_os.h b/e_os.h
index d658191987d33901a193e5bda94dfcfd6c31caf2..ab952c8f7254f0206fa8a45147f0e9ada395d49c 100644 (file)
--- a/e_os.h
+++ b/e_os.h
@@ -81,6 +81,12 @@ extern "C" {
  * My default, we will try to read at least one of these files */
 #define DEVRANDOM "/dev/urandom","/dev/random","/dev/srandom"
 #endif
+#ifndef DEVRANDOM_EGD
+/* 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 "/var/run/egd-pool","/dev/egd-pool","/etc/egd-pool","/etc/entropy"
+#endif
 
 #if defined(__MWERKS__) && defined(macintosh)
 # if macintosh==1