- Applied a fix by Marcus Meissner for a loop check in ipsec pki
causing a segfault on attempt to create certificates when fips is enabled (bsc#918474,https://wiki.strongswan.org/issues/881) [+ 0006-strongswan-pkifix.918474.patch] OBS-URL: https://build.opensuse.org/package/show/network:vpn/strongswan?expand=0&rev=88
This commit is contained in:
parent
8a2afb449d
commit
b401bc1d51
16
0007-strongswan-pkifix.918474.patch
Normal file
16
0007-strongswan-pkifix.918474.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
References: bsc#918474,https://wiki.strongswan.org/issues/881
|
||||||
|
Upstream: yes
|
||||||
|
|
||||||
|
Index: strongswan-5.1.3/src/pki/command.c
|
||||||
|
===================================================================
|
||||||
|
--- strongswan-5.1.3.orig/src/pki/command.c
|
||||||
|
+++ strongswan-5.1.3/src/pki/command.c
|
||||||
|
@@ -73,7 +73,7 @@ static void build_opts()
|
||||||
|
memset(command_optstring, 0, sizeof(command_optstring));
|
||||||
|
if (active == help_idx)
|
||||||
|
{
|
||||||
|
- for (i = 0; cmds[i].cmd; i++)
|
||||||
|
+ for (i = 0; i < MAX_COMMANDS && cmds[i].cmd; i++)
|
||||||
|
{
|
||||||
|
command_opts[i].name = cmds[i].cmd;
|
||||||
|
command_opts[i].val = cmds[i].op;
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 9 08:37:42 UTC 2015 - mt@suse.de
|
||||||
|
|
||||||
|
- Applied a fix by Marcus Meissner for a loop check in ipsec pki
|
||||||
|
causing a segfault on attempt to create certificates when fips
|
||||||
|
is enabled (bsc#918474,https://wiki.strongswan.org/issues/881)
|
||||||
|
[+ 0006-strongswan-pkifix.918474.patch]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 5 14:38:46 UTC 2015 - mt@suse.de
|
Mon Jan 5 14:38:46 UTC 2015 - mt@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package strongswan
|
# spec file for package strongswan
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -82,6 +82,7 @@ Patch2: %{name}_ipsec_service.patch
|
|||||||
Patch3: %{name}_fipscheck.patch
|
Patch3: %{name}_fipscheck.patch
|
||||||
Patch4: %{name}_fipsfilter.patch
|
Patch4: %{name}_fipsfilter.patch
|
||||||
%endif
|
%endif
|
||||||
|
Patch7: 0007-strongswan-pkifix.918474.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: curl-devel
|
BuildRequires: curl-devel
|
||||||
@ -291,6 +292,7 @@ and the load testing plugin for IKEv2 daemon.
|
|||||||
%if %{with fipscheck}
|
%if %{with fipscheck}
|
||||||
%patch3 -p0
|
%patch3 -p0
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
|
%patch7 -p1
|
||||||
%endif
|
%endif
|
||||||
sed -e 's|@libexecdir@|%_libexecdir|g' \
|
sed -e 's|@libexecdir@|%_libexecdir|g' \
|
||||||
< $RPM_SOURCE_DIR/strongswan.init.in \
|
< $RPM_SOURCE_DIR/strongswan.init.in \
|
||||||
|
Loading…
Reference in New Issue
Block a user