Related: #2151175 use_openssl_for_librnp requires openssl >= 1.1.1e

... because EVP_PKEY_CTX_set_dsa_paramgen_q_bits was introduced only
there.
This commit is contained in:
Eike Rathke 2022-12-12 16:23:17 +01:00
parent 08c6adcbb6
commit 36e9231129
1 changed files with 4 additions and 2 deletions

View File

@ -33,8 +33,11 @@ end}
%global system_nss 1
%global bundle_nss 0
%global build_langpacks 1
# librnp with openssl support, not available in RHEL7 because it requires openssl >= 1.1.1e,
# nor in rhel-8.1.0 or rhel-8.2.0
%global use_openssl_for_librnp 1
%if 0%{?rhel} == 7
%if 0%{?rhel} == 7 || (0%{?rhel} == 8 && %{rhel_minor_version} < 4)
%global use_openssl_for_librnp 0
%endif
@ -627,7 +630,6 @@ echo "use_rustts %{?use_rustts}"
%patch424 -p1 -b .svg-rendering
%patch425 -p1 -b .D158770.diff
# librnp with openssl support, not available in RHEL7 because it requires openssl >= 1.1.1:
%if %{?use_openssl_for_librnp}
%patch5426 -p1 -b .backport-rnp-0.16.2-to-esr102-a-bug-1753683
%patch5427 -p1 -b .backport-rnp-0.16.2-to-esr102-b-bug-1790446