From fc92584bd261c9a2f035a3707f66e0be2a2eb8ae Mon Sep 17 00:00:00 2001 From: kaleb-himes Date: Fri, 11 Mar 2022 08:36:36 -0700 Subject: [PATCH] Address the one that was missed --- wolfcrypt/src/integer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/integer.c b/wolfcrypt/src/integer.c index da2609d33..cbdd3f661 100644 --- a/wolfcrypt/src/integer.c +++ b/wolfcrypt/src/integer.c @@ -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 */