]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
OSSL_PARAM_print_to_bio should be excluded from FIPS_MODULE
authorTejaswi Devarakonda <tejaswid328@gmail.com>
Tue, 3 Feb 2026 16:41:41 +0000 (22:11 +0530)
committerTomas Mraz <tomas@openssl.org>
Mon, 9 Feb 2026 09:55:35 +0000 (10:55 +0100)
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)

crypto/params_from_text.c

index 60bae1707d3ef105c6d90a6a0b891ceb23743ec2..0df3362e58e78ca9cc12ce9dbe67849c8a7ff54f 100644 (file)
@@ -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,