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:
parent
f3a7f5e573
commit
9789ea5ab4
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user