From 63bf453dc6e7fd93cd65cf00c0083b453b72a459 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 15 Feb 2024 13:42:45 -0500 Subject: [PATCH] Disable HMAC in RHEL 9+ RHEL 9 and later include nettle in the gnutls module boundary, and HMAC is calculated there with its own tool. --- gmp.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gmp.spec b/gmp.spec index b8bafab..ac271e2 100644 --- a/gmp.spec +++ b/gmp.spec @@ -29,7 +29,11 @@ BuildRequires: git #autoreconf on arm needs: BuildRequires: perl-Carp # Generate the .hmac checksum unless --without fips is used +# RHEL 9 and later include gmp in the gnutls module boundary, +# and HMAC is calculated there with its own tool. +%if %{defined rhel} && 0%{?rhel} < 9 %bcond_without fips +%endif %if %{with fips} BuildRequires: fipscheck %endif