git: b3e9b999cc61 - releng/15.1 - Remove fips-module related diff
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 17 Nov 2026 17:07:34 UTC
The branch releng/15.1 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=b3e9b999cc61460760532702f94048e459daffcd
commit b3e9b999cc61460760532702f94048e459daffcd
Author: Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-06-12 05:48:19 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-11-14 22:53:23 +0000
Remove fips-module related diff
This particular change didn't come from upstream. It was added locally
in 7a991ecd1 when attempting to enable the fips provider with 3.0.
Given the fact that we no longer build the fips provider and the fips
provider build process (including sources) is very prescribed to
specific build steps and source versions, there's no reason why we need
to continue carrying around this diff anymore.
Approved by: so
Security: FreeBSD-EN-26:31.openssl
(cherry picked from commit d6e3662bc1f5054d81b1ceab641396047c2cad94)
(cherry picked from commit 993fbb604c9fa0624b22f78ea3a7a3829102c22d)
---
crypto/openssl/crypto/bn/bn_const.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/crypto/openssl/crypto/bn/bn_const.c b/crypto/openssl/crypto/bn/bn_const.c
index 5e0f470663b3..07a3a4a7c380 100644
--- a/crypto/openssl/crypto/bn/bn_const.c
+++ b/crypto/openssl/crypto/bn/bn_const.c
@@ -76,12 +76,10 @@ BIGNUM *BN_get_rfc2409_prime_1024(BIGNUM *bn)
* RFC2312 specifies a generator of 22.
*/
-#ifndef FIPS_MODULE
BIGNUM *BN_get_rfc3526_prime_1536(BIGNUM *bn)
{
return COPY_BN(bn, ossl_bignum_modp_1536_p);
}
-#endif
/*-
* "2048-bit MODP Group" from RFC3526, Section 3.