mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-23 15:07:03 +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>
|
2003-07-30 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
* idea-stub.c, random.c: Replaced some __MINGW32__ by _WIN32 and
|
* 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;
|
return fnc;
|
||||||
# ifdef USE_RNDLINUX
|
# ifdef USE_RNDLINUX
|
||||||
if ( !access (NAME_OF_DEV_RANDOM, R_OK)
|
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;
|
fnc = rndlinux_gather_random;
|
||||||
return fnc;
|
return fnc;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user