diff options
Diffstat (limited to 'evutil_rand.c')
-rw-r--r-- | evutil_rand.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/evutil_rand.c b/evutil_rand.c index 4be0b1c5..8e9afdaa 100644 --- a/evutil_rand.c +++ b/evutil_rand.c @@ -171,9 +171,7 @@ evutil_secure_rng_init(void) int val; ARC4_LOCK_(); - if (!arc4_seeded_ok) - arc4_stir(); - val = arc4_seeded_ok ? 0 : -1; + val = (!arc4_stir()) ? 0 : -1; ARC4_UNLOCK_(); return val; } |