From: Pauli Date: Mon, 29 Jul 2024 02:07:09 +0000 (+1000) Subject: fipsinstall: use correct macro for no drbg trunc digest option X-Git-Tag: openssl-3.4.0-alpha1~158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8783a1807babff23e263386f97e361f4908616a;p=thirdparty%2Fopenssl.git fipsinstall: use correct macro for no drbg trunc digest option Reviewed-by: Dmitry Belyavskiy Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/25020) --- diff --git a/apps/fipsinstall.c b/apps/fipsinstall.c index 439d83f657f..2061d0be9ee 100644 --- a/apps/fipsinstall.c +++ b/apps/fipsinstall.c @@ -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