Fix RHEL build

Some tests fail in RHEL/ELN due to use of SHA-1.
This commit is contained in:
Yaakov Selkowitz 2023-06-06 17:30:44 -04:00
parent 0936af649d
commit 1f6d192c81

View File

@ -89,6 +89,10 @@ touch %{buildroot}%{_mandir}/man1/{Mail,mail,mailx,nail}.1
%check
%if %{defined rhel}
# SHA-1 is disabled as insecure by RHEL default policies, but used in tests
export OPENSSL_ENABLE_SHA1_SIGNATURES=yes
%endif
make test