getrandom: Simplify the determination of the random number devices.
commit053dd57da26bcda9f03180758fce81fffe7747c8
authorBruno Haible <bruno@clisp.org>
Sun, 31 May 2020 11:44:04 +0000 (31 13:44 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 31 May 2020 11:44:04 +0000 (31 13:44 +0200)
treeddf9553765efc9fcb17972db4f985cae2f0423c9
parentdebc8aad6d8126a6a9f83399594bb6368d55aa65
getrandom: Simplify the determination of the random number devices.

Suggested by Paul Eggert in
<https://lists.gnu.org/archive/html/bug-gnulib/2020-05/msg00383.html>.

* lib/getrandom.c (NAME_OF_RANDOM_DEVICE, NAME_OF_NONCE_DEVICE): New
macros.
* modules/getrandom (Depends-on): Remove crypto/gc-random.
ChangeLog
lib/getrandom.c
modules/getrandom