]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
fipsinstall: use correct macro for no drbg trunc digest option
authorPauli <ppzgs1@gmail.com>
Mon, 29 Jul 2024 02:07:09 +0000 (12:07 +1000)
committerPauli <ppzgs1@gmail.com>
Sun, 11 Aug 2024 23:30:43 +0000 (09:30 +1000)
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/25020)

apps/fipsinstall.c

index 439d83f657f11cf14c29d725b83181368d84efdd..2061d0be9ee580bfdd27596ead8123b83bba83c5 100644 (file)
@@ -353,7 +353,7 @@ static int write_config_fips_section(BIO *out, const char *section,
                       opts->eddsa_no_verify_digested ? "1" : "0") <= 0
         || BIO_printf(out, "%s = %s\n", OSSL_PROV_PARAM_NO_SHORT_MAC,
                       opts->no_short_mac ? "1" : "0") <= 0
-        || BIO_printf(out, "%s = %s\n", OSSL_PROV_PARAM_DRBG_TRUNC_DIGEST,
+        || BIO_printf(out, "%s = %s\n", OSSL_PROV_FIPS_PARAM_DRBG_TRUNC_DIGEST,
                       opts->drgb_no_trunc_dgst ? "1" : "0") <= 0
         || BIO_printf(out, "%s = %s\n", OSSL_PROV_FIPS_PARAM_SIGNATURE_DIGEST_CHECK,
                       opts->signature_digest_check ? "1" : "0") <= 0