1
0
forked from pool/openssl-ibmca
Dominique Leuenberger 2023-04-19 15:44:55 +00:00 committed by Git OBS Bridge
commit 63379767f2
3 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,12 @@
--- openssl-ibmca-2.3.1/src/engine/e_ibmca.c.xx 2023-04-19 10:36:53.514635802 +0200
+++ openssl-ibmca-2.3.1/src/engine/e_ibmca.c 2023-04-19 10:39:01.678265739 +0200
@@ -642,6 +642,9 @@
if (!ENGINE_set_pkey_meths(e, ibmca_engine_pkey_meths))
goto out;
+ if (!ENGINE_set_flags(e, ENGINE_FLAGS_NO_REGISTER_ALL))
+ goto out;
+
rc = 1;
out:
free(pmech_list);

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Apr 19 10:52:06 UTC 2023 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
- Applies a patch (bsc#1210359)
* openssl-ibmca-engine-noregister.patch
- Updated the '#dynamic_path' line, as it was before, with the comment '#'.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 6 08:14:25 UTC 2023 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com> Thu Apr 6 08:14:25 UTC 2023 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>

View File

@ -28,8 +28,11 @@ URL: https://github.com/opencryptoki/openssl-ibmca
Source: https://github.com/opencryptoki/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source: https://github.com/opencryptoki/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: engine_section.txt Source1: engine_section.txt
### ###
Patch001: openssl-ibmca-engine-noregister.patch
###
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: libica >= 4.0.0
BuildRequires: libica-devel >= 3.1.1 BuildRequires: libica-devel >= 3.1.1
BuildRequires: libica-tools >= 2.4.0 BuildRequires: libica-tools >= 2.4.0
BuildRequires: libtool BuildRequires: libtool
@ -73,7 +76,7 @@ cp -p %{SOURCE1} %{buildroot}%{_datadir}/%{name}/openssl-ibmca.sectiondef.txt
grep -v "^#" src/engine/openssl.cnf.sample | \ grep -v "^#" src/engine/openssl.cnf.sample | \
sed -n -e '/^\[ibmca_section\]/,$ p' | \ sed -n -e '/^\[ibmca_section\]/,$ p' | \
sed -e '/^$/ {N;N;s/\n\n/\n/g;}' | \ sed -e '/^$/ {N;N;s/\n\n/\n/g;}' | \
sed -e 's/^dynamic_path/dynamic_path/' > %{buildroot}%{_datadir}/%{name}/openssl-ibmca.enginedef.cnf sed -e 's/^dynamic_path/#dynamic_path/' > %{buildroot}%{_datadir}/%{name}/openssl-ibmca.enginedef.cnf
%post %post
#Original fix for bsc#942839 was to update on first install #Original fix for bsc#942839 was to update on first install