src - FreeBSD source tree

1 min read Original article ↗
authorEnji Cooper <ngie@FreeBSD.org>2026-06-12 05:48:19 +0000
committerEnji Cooper <ngie@FreeBSD.org>2026-06-12 05:50:52 +0000
commitd6e3662bc1f5054d81b1ceab641396047c2cad94 (patch)
treeb378edb1201c9f5286c519b6000591a23df071c7
parent2de6d07e16aa4d902b7b322a869f89a07348e851 (diff)

Remove fips-module related diffHEADmain

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. MFC after: 1 week Signed-off-by: Enji Cooper <ngie@FreeBSD.org>

-rw-r--r--crypto/openssl/crypto/bn/bn_const.c2

1 files changed, 0 insertions, 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.