Specify openssl configuration section

By default, node does not use the common openssl configuration section,
relying instead on node-specific `nodejs_conf` section.
Since we want node to use the system configuration, the section name
should be changed (back) to `openssl_conf`.

See discussion in https://github.com/nodejs/node/pull/48950
for the reason this change is suggested.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Jan Staněk 2023-08-28 18:51:36 -04:00 committed by Stephen Gallagher
parent 7d157a9ac8
commit d5900da637
2 changed files with 2 additions and 2 deletions

View file

@ -231,7 +231,7 @@ BuildRequires: openssl-devel >= %{openssl11_minimum}
%global openssl_fips_configure %{nil}
%endif
%global ssl_configure --shared-openssl %{openssl_fips_configure}
%global ssl_configure --shared-openssl --openssl-conf-name=openssl_conf %{openssl_fips_configure}
%endif
%if 0%{?nodejs_default}

View file

@ -234,7 +234,7 @@ BuildRequires: openssl-devel >= %{openssl11_minimum}
%global openssl_fips_configure %{nil}
%endif
%global ssl_configure --shared-openssl %{openssl_fips_configure}
%global ssl_configure --shared-openssl --openssl-conf-name=openssl_conf %{openssl_fips_configure}
%endif
{% if NODE_MAJOR < 19 -%}