Add build-time conditional for GOST cryptography support

Signed-off-by: Daiki Ueno <dueno@redhat.com>
This commit is contained in:
Daiki Ueno 2022-01-18 09:42:49 +01:00
parent eaa69df8d9
commit beca303c29

View File

@ -13,6 +13,7 @@ Patch2: gnutls-3.2.7-rpath.patch
%bcond_without fips
%endif
%bcond_with tpm12
%bcond_without gost
Summary: A TLS protocol implementation
Name: gnutls
@ -183,6 +184,11 @@ export GUILD
%configure \
%if %{with fips}
--enable-fips140-mode \
%endif
%if %{with gost}
--enable-gost \
%else
--disable-gost \
%endif
--enable-sha1-support \
--disable-static \