git: d6e3662bc1f5 - main - Remove fips-module related diff

From: Enji Cooper <ngie_at_FreeBSD.org>
Date: Fri, 12 Jun 2026 05:51:21 UTC
The branch main has been updated by ngie:

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

commit d6e3662bc1f5054d81b1ceab641396047c2cad94
Author:     Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-06-12 05:48:19 +0000
Commit:     Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-06-12 05:50:52 +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.
    
    MFC after:      1 week
    Signed-off-by: Enji Cooper <ngie@FreeBSD.org>
---
 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.