Add build-time conditional for GOST cryptography support
Signed-off-by: Daiki Ueno <dueno@redhat.com>
This commit is contained in:
parent
eaa69df8d9
commit
beca303c29
@ -13,6 +13,7 @@ Patch2: gnutls-3.2.7-rpath.patch
|
|||||||
%bcond_without fips
|
%bcond_without fips
|
||||||
%endif
|
%endif
|
||||||
%bcond_with tpm12
|
%bcond_with tpm12
|
||||||
|
%bcond_without gost
|
||||||
|
|
||||||
Summary: A TLS protocol implementation
|
Summary: A TLS protocol implementation
|
||||||
Name: gnutls
|
Name: gnutls
|
||||||
@ -183,6 +184,11 @@ export GUILD
|
|||||||
%configure \
|
%configure \
|
||||||
%if %{with fips}
|
%if %{with fips}
|
||||||
--enable-fips140-mode \
|
--enable-fips140-mode \
|
||||||
|
%endif
|
||||||
|
%if %{with gost}
|
||||||
|
--enable-gost \
|
||||||
|
%else
|
||||||
|
--disable-gost \
|
||||||
%endif
|
%endif
|
||||||
--enable-sha1-support \
|
--enable-sha1-support \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
|
Loading…
Reference in New Issue
Block a user