diff --git a/lib/hcrypto/rand.c b/lib/hcrypto/rand.c index 9890c5a6a..7a17c8a21 100644 --- a/lib/hcrypto/rand.c +++ b/lib/hcrypto/rand.c @@ -56,11 +56,7 @@ init_method(void) { if (selected_meth != NULL) return; - - if ((*hc_rand_unix_method.status)() == 1) - selected_meth = &hc_rand_unix_method; - else - selected_meth = &hc_rand_fortuna_method; + selected_meth = &hc_rand_fortuna_method; } void