Limit DEVRANDOM_WAIT to linux
Fixes #8416
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/8428)
(cherry picked from commit 596521f488
)
This commit is contained in:
parent
acd9b16b01
commit
35eecd173e
1 changed files with 3 additions and 1 deletions
4
e_os.h
4
e_os.h
|
@ -28,7 +28,9 @@
|
|||
* default, we will try to read at least one of these files
|
||||
*/
|
||||
# define DEVRANDOM "/dev/urandom", "/dev/random", "/dev/hwrng", "/dev/srandom"
|
||||
# define DEVRANDOM_WAIT "/dev/random"
|
||||
# ifdef __linux
|
||||
# define DEVRANDOM_WAIT "/dev/random"
|
||||
# endif
|
||||
# endif
|
||||
# if !defined(OPENSSL_NO_EGD) && !defined(DEVRANDOM_EGD)
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue