aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/factor/factor.c
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2023-05-28 02:16:39 +0000
committerEnji Cooper <ngie@FreeBSD.org>2023-05-28 02:18:43 +0000
commit27234ad6999b760041fc53326268ac86e9fd2e80 (patch)
tree97423236b103bf0f615d1cf89b3cc7ba3707ea17 /usr.bin/factor/factor.c
parent101a9ac07128a17d8797cc3e93978d2cfa457e99 (diff)
downloadsrc-27234ad6999b760041fc53326268ac86e9fd2e80.tar.gz
src-27234ad6999b760041fc53326268ac86e9fd2e80.zip
Fix the build post-dcf5d5603b3af8
I didn't compile test the prior code before committing. MFC after: 1 week MFC with: dcf5d5603b3af831002caa7b2f64aec8bda14071
Diffstat (limited to 'usr.bin/factor/factor.c')
-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