Commit 8f7f7f8124 for openssl.org

commit 8f7f7f8124d1ea1e5e84f17c95209e8259669183
Author: Tejaswi Devarakonda <tejaswid328@gmail.com>
Date:   Tue Feb 3 22:11:41 2026 +0530

    OSSL_PARAM_print_to_bio should be excluded from FIPS_MODULE

    Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
    Reviewed-by: Paul Dale <paul.dale@oracle.com>
    Reviewed-by: Tomas Mraz <tomas@openssl.org>
    MergeDate: Mon Feb  9 09:55:48 2026
    (Merged from https://github.com/openssl/openssl/pull/29937)

diff --git a/crypto/params_from_text.c b/crypto/params_from_text.c
index 60bae1707d..0df3362e58 100644
--- a/crypto/params_from_text.c
+++ b/crypto/params_from_text.c
@@ -198,6 +198,7 @@ static int construct_from_text(OSSL_PARAM *to, const OSSL_PARAM *paramdef,
     return 1;
 }

+#ifndef FIPS_MODULE
 /**
  * OSSL_PARAM_print_to_bio - Print OSSL_PARAM array to a bio
  *
@@ -302,6 +303,7 @@ int OSSL_PARAM_print_to_bio(const OSSL_PARAM *p, BIO *bio, int print_values)
 end:
     return ok == -1 ? 0 : 1;
 }
+#endif /* FIPS_MODULE */

 int OSSL_PARAM_allocate_from_text(OSSL_PARAM *to,
     const OSSL_PARAM *paramdefs,