From: Tejaswi Devarakonda Date: Tue, 3 Feb 2026 16:41:41 +0000 (+0530) Subject: OSSL_PARAM_print_to_bio should be excluded from FIPS_MODULE X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f7f7f8124d1ea1e5e84f17c95209e8259669183;p=thirdparty%2Fopenssl.git OSSL_PARAM_print_to_bio should be excluded from FIPS_MODULE Reviewed-by: Shane Lontis Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz 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 60bae1707d3..0df3362e58e 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,