Use both getrandom() and /dev/urandom by default on Linux.
authorKurt Roeckx <kurt@roeckx.be>
Fri, 9 Feb 2018 23:30:29 +0000 (00:30 +0100)
committerKurt Roeckx <kurt@roeckx.be>
Tue, 13 Feb 2018 20:15:30 +0000 (21:15 +0100)
commit72960279562e9af53264155a46b4a0b6a40f9590
tree3e68eb72997f1a8b1598a6836c8dea4c9c64fd24
parentf11a023adaae8ba037f952fd72dfbcc34733c993
Use both getrandom() and /dev/urandom by default on Linux.

getrandom() is now used on Linux by default when using Linux >= 3.17
and glibc >= 2.25

Reviewed-by: Rich Salz <rsalz@openssl.org>
GH: #5314
crypto/rand/rand_unix.c