git: 08be83a3cb68 - stable/13 - Fix the build post-dcf5d5603b3af8
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 24 Sep 2025 22:17:10 UTC
The branch stable/13 has been updated by ngie:
URL: https://cgit.FreeBSD.org/src/commit/?id=08be83a3cb6802e27aa1f8aaf5f614b434f39737
commit 08be83a3cb6802e27aa1f8aaf5f614b434f39737
Author: Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2023-05-28 02:16:39 +0000
Commit: Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2025-09-24 05:36:59 +0000
Fix the build post-dcf5d5603b3af8
I didn't compile test the prior code before committing.
MFC after: 1 week
MFC with: dcf5d5603b3af831002caa7b2f64aec8bda14071
(cherry picked from commit 27234ad6999b760041fc53326268ac86e9fd2e80)
---
usr.bin/factor/factor.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/usr.bin/factor/factor.c b/usr.bin/factor/factor.c
index c183a6980edd..53a369f10506 100644
--- a/usr.bin/factor/factor.c
+++ b/usr.bin/factor/factor.c
@@ -81,11 +81,11 @@ __RCSID("$NetBSD: factor.c,v 1.19 2009/08/12 05:54:31 dholland Exp $");
#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