Address the one that was missed

This commit is contained in:
kaleb-himes
2022-03-11 08:36:36 -07:00
parent 0eef90f951
commit fc92584bd2

View File

@ -5005,7 +5005,7 @@ int mp_rand_prime(mp_int* a, int len, WC_RNG* rng, void* heap)
int err, res, type;
byte* buf;
if (N == NULL || rng == NULL)
if (a == NULL || rng == NULL)
return MP_VAL;
/* get type */