Fix the build post-dcf5d5603b3af8

I didn't compile test the prior code before committing.

MFC after:	1 week
MFC with:	dcf5d5603b
This commit is contained in:
Enji Cooper 2023-05-27 19:16:39 -07:00
parent 101a9ac071
commit 27234ad699

View file

@ -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