aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/factor/factor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/factor/factor.c b/usr.bin/factor/factor.c
index 7fc31353e5fa..0b53ac3b5836 100644
--- a/usr.bin/factor/factor.c
+++ b/usr.bin/factor/factor.c
@@ -84,11 +84,11 @@ __FBSDID("$FreeBSD$");
#if OPENSSL_VERSION_NUMBER < 0x30000000L
static inline int
-BN_check_prime(BN *p, BN_CTX *ctx, BN_GENCB *cb)
+BN_check_prime(BIGNUM *p, BN_CTX *ctx, BN_GENCB *cb)
{
const int nchecks = 5;
- return BN_is_prime_ex(val, nchecks, ctx, cb);
+ return BN_is_prime_ex(p, nchecks, ctx, cb);
}
#endif