mirror of
https://github.com/openssl/openssl.git
synced 2025-03-19 19:50:42 +08:00
Limit DEVRANDOM_WAIT to linux
Fixes #8416 Reviewed-by: Kurt Roeckx <kurt@roeckx.be> (Merged from https://github.com/openssl/openssl/pull/8428)
This commit is contained in:
parent
6855b496b2
commit
596521f488
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…
x
Reference in New Issue
Block a user