diff --git a/mp_prime_rand.c b/mp_prime_rand.c index c5cebbda..5351aefe 100644 --- a/mp_prime_rand.c +++ b/mp_prime_rand.c @@ -26,7 +26,7 @@ mp_err mp_prime_rand(mp_int *a, int t, int size, int flags) mp_err err; /* sanity check the input */ - if ((size <= 1) || (t <= 0)) { + if (size <= 1) { return MP_VAL; }