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.
This commit is contained in:
parent
c4a2f2e810
commit
63bf453dc6
4
gmp.spec
4
gmp.spec
@ -29,7 +29,11 @@ BuildRequires: git
|
|||||||
#autoreconf on arm needs:
|
#autoreconf on arm needs:
|
||||||
BuildRequires: perl-Carp
|
BuildRequires: perl-Carp
|
||||||
# Generate the .hmac checksum unless --without fips is used
|
# 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
|
%bcond_without fips
|
||||||
|
%endif
|
||||||
%if %{with fips}
|
%if %{with fips}
|
||||||
BuildRequires: fipscheck
|
BuildRequires: fipscheck
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user