1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-12 21:58:50 +01:00

* random.c (getfnc_gather_random): Don't check NAME_OF_DEV_RANDOM twice.

Use NAME_OF_DEV_URANDOM.
This commit is contained in:
David Shaw 2003-08-13 02:34:20 +00:00
parent f3a7f5e573
commit 9789ea5ab4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-08-12 David Shaw <dshaw@jabberwocky.com>
* random.c (getfnc_gather_random): Don't check NAME_OF_DEV_RANDOM
twice. Use NAME_OF_DEV_URANDOM.
2003-07-30 Werner Koch <wk@gnupg.org>
* idea-stub.c, random.c: Replaced some __MINGW32__ by _WIN32 and

View File

@ -142,7 +142,7 @@ getfnc_gather_random (void))(void (*)(const void*, size_t, int), int,
return fnc;
# ifdef USE_RNDLINUX
if ( !access (NAME_OF_DEV_RANDOM, R_OK)
&& !access (NAME_OF_DEV_RANDOM, R_OK))
&& !access (NAME_OF_DEV_URANDOM, R_OK))
{
fnc = rndlinux_gather_random;
return fnc;