X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=e_os.h;h=f3b8fb830de5668df70e124b9395b4df48f338a3;hb=902f7d5c87d66a78d3eb10709c6cb3486a216b48;hp=c1b9350d629026c8e159b7ea5d092639b4a57d64;hpb=198c42f5af0d2cc0eb4789c7597b68b6b10cc97a;p=oweals%2Fopenssl.git diff --git a/e_os.h b/e_os.h index c1b9350d62..f3b8fb830d 100644 --- a/e_os.h +++ b/e_os.h @@ -58,7 +58,11 @@ extern "C" { * 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 */ -# define DEVRANDOM "/dev/urandom","/dev/random","/dev/srandom" +# if defined(__s390__) +# define DEVRANDOM "/dev/prandom","/dev/urandom","/dev/hwrng","/dev/random" +# else +# define DEVRANDOM "/dev/urandom","/dev/random","/dev/srandom" +# endif # endif # if !defined(OPENSSL_NO_EGD) && !defined(DEVRANDOM_EGD) /* @@ -234,6 +238,12 @@ extern FILE *_imp___iob; # else /* The non-microsoft world */ +# if defined(OPENSSL_SYS_VXWORKS) +# include +# else +# include +# endif + # ifdef OPENSSL_SYS_VMS # define VMS 1 /*