add missing extern for swanctl_dir variable in header
This commit is contained in:
parent
64a1179d35
commit
7ff4c415bd
13
add-missing-extern-for-swanctl_dir-variable-in-header.patch
Normal file
13
add-missing-extern-for-swanctl_dir-variable-in-header.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/src/swanctl/swanctl.h b/src/swanctl/swanctl.h
|
||||
index f0c334f..70f70d1 100644
|
||||
--- a/src/swanctl/swanctl.h
|
||||
+++ b/src/swanctl/swanctl.h
|
||||
@@ -30,7 +30,7 @@
|
||||
/**
|
||||
* Base directory for credentials and config
|
||||
*/
|
||||
-char *swanctl_dir;
|
||||
+extern char *swanctl_dir;
|
||||
|
||||
/**
|
||||
* Configuration file for connections, etc.
|
||||
@ -1,6 +1,6 @@
|
||||
Name: strongswan
|
||||
Version: 5.7.2
|
||||
Release: 7
|
||||
Release: 8
|
||||
Summary: An OpenSource IPsec-based VPN and TNC solution
|
||||
License: GPLv2+
|
||||
URL: http://www.strongswan.org/
|
||||
@ -8,6 +8,7 @@ Source0: http://download.strongswan.org/strongswan-%{version}.tar.bz2
|
||||
|
||||
Patch0: CVE-2021-41990.patch
|
||||
Patch1: CVE-2021-41991.patch
|
||||
Patch2: add-missing-extern-for-swanctl_dir-variable-in-header.patch
|
||||
|
||||
BuildRequires: gcc systemd-devel gmp-devel libcurl-devel NetworkManager-libnm-devel openldap-devel
|
||||
BuildRequires: openssl-devel sqlite-devel gettext-devel trousers-devel libxml2-devel pam-devel
|
||||
@ -124,6 +125,9 @@ install -d -m 700 %{buildroot}%{_sysconfdir}/strongswan/ipsec.d/{aacerts acerts
|
||||
%{_mandir}/man8/*8.gz
|
||||
|
||||
%changelog
|
||||
* Wed Dec 22 2021 zhangjiapeng <zhangjiapeng9@huawei.com> - 5.7.2-8
|
||||
- add missing extern for swanctl_dir variable in header
|
||||
|
||||
* Mon Oct 25 2021 wangkai <wangkai385@huawei.com> - 5.7.2-7
|
||||
- fix CVE-2021-40990 CVE-2021-40991
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user