summaryrefslogtreecommitdiff
path: root/cipher/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/random.c')
-rw-r--r--cipher/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/random.c b/cipher/random.c
index c4639922..953686d2 100644
--- a/cipher/random.c
+++ b/cipher/random.c
@@ -758,7 +758,7 @@ getfnc_gather_random (void))(void (*)(const void*, size_t, int), int,
#if 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;