Commit fb9163ba authored by Patrick Steuer's avatar Patrick Steuer Committed by Andy Polyakov
Browse files

e_os.h: add prandom and hwrng to the list of random devices on s390x.

parent f84a648c
Loading
Loading
Loading
Loading
+5 −1
Original line number Original line Diff line number Diff line
@@ -58,8 +58,12 @@ extern "C" {
 * set this to a comma-separated list of 'random' device files to try out. By
 * set this to a comma-separated list of 'random' device files to try out. By
 * default, we will try to read at least one of these files
 * default, we will try to read at least one of these files
 */
 */
#  if defined(__s390__)
#   define DEVRANDOM "/dev/prandom","/dev/urandom","/dev/hwrng","/dev/random"
#  else
#   define DEVRANDOM "/dev/urandom","/dev/random","/dev/srandom"
#   define DEVRANDOM "/dev/urandom","/dev/random","/dev/srandom"
#  endif
#  endif
# endif
# if !defined(OPENSSL_NO_EGD) && !defined(DEVRANDOM_EGD)
# if !defined(OPENSSL_NO_EGD) && !defined(DEVRANDOM_EGD)
/*
/*
 * set this to a comma-separated list of 'egd' sockets to try out. These
 * set this to a comma-separated list of 'egd' sockets to try out. These