c352bd07ed
Use select to wait for /dev/random in readable state,
but do not actually read anything from /dev/random,
use /dev/urandom first.
Use linux define __NR_getrandom instead of the
glibc define SYS_getrandom, in case the kernel headers
are more current than the glibc headers.
Fixes #8215
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/8251)
(cherry picked from commit
|
||
---|---|---|
.. | ||
build.info | ||
drbg_ctr.c | ||
drbg_lib.c | ||
rand_egd.c | ||
rand_err.c | ||
rand_lcl.h | ||
rand_lib.c | ||
rand_unix.c | ||
rand_vms.c | ||
rand_win.c | ||
randfile.c |