provide RHEL/Fedora-compatible openssl3 FIPS config

This commit is contained in:
Dan Horák 2022-05-13 12:30:16 +00:00
parent 0bd296601d
commit e2c90fde3c

View File

@ -54,6 +54,17 @@ sh ./bootstrap.sh
%endif
%make_build
%if %{with_fips}
%if 0%{?fedora} >= 36 || 0%{?rhel} >= 9
# provide RHEL/Fedora-compatible openssl3 FIPS config
cat > src/openssl3-fips.cnf << EOF
openssl_conf = openssl_init
[openssl_init]
EOF
%endif
%endif
%install
%make_install