mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-22 14:57:02 +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
d8273544e1
commit
5ad7dd7944
@ -1,3 +1,8 @@
|
||||
2003-08-21 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* random.c (getfnc_gather_random): Don't check NAME_OF_DEV_RANDOM
|
||||
twice. Use NAME_OF_DEV_URANDOM.
|
||||
|
||||
2003-05-24 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* bithelp.h, des.c, random.c, rndlinux.c, sha1.c, blowfish.c,
|
||||
|
@ -139,7 +139,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…
x
Reference in New Issue
Block a user