git: 27234ad6999b - main - Fix the build post-dcf5d5603b3af8

From: Enji Cooper <ngie_at_FreeBSD.org>
Date: Sun, 28 May 2023 02:18:48 UTC
The branch main has been updated by ngie:

URL: https://cgit.FreeBSD.org/src/commit/?id=27234ad6999b760041fc53326268ac86e9fd2e80

commit 27234ad6999b760041fc53326268ac86e9fd2e80
Author:     Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2023-05-28 02:16:39 +0000
Commit:     Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2023-05-28 02:18:43 +0000

    Fix the build post-dcf5d5603b3af8
    
    I didn't compile test the prior code before committing.
    
    MFC after:      1 week
    MFC with:       dcf5d5603b3af831002caa7b2f64aec8bda14071
---
 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 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