!76 aes crypter support sw64 arch
From: @openhosec Reviewed-by: @zhujianwei001 Signed-off-by: @zhujianwei001
This commit is contained in:
commit
97ab5b1ae2
14
aes-crypter-support-sw64-arch.patch
Normal file
14
aes-crypter-support-sw64-arch.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff --git a/src/libstrongswan/plugins/aes/aes_crypter.c b/src/libstrongswan/plugins/aes/aes_crypter.c
|
||||||
|
index 37954d9df..7ba249faa 100644
|
||||||
|
--- a/src/libstrongswan/plugins/aes/aes_crypter.c
|
||||||
|
+++ b/src/libstrongswan/plugins/aes/aes_crypter.c
|
||||||
|
@@ -105,6 +105,9 @@ struct private_aes_crypter_t {
|
||||||
|
/* added (tested): ia64 --jjo */
|
||||||
|
#elif defined(__ia64__)|| defined (__ia64)
|
||||||
|
#define AES_LE_OK 1
|
||||||
|
+/* added (tested): sw_64 --jjo */
|
||||||
|
+#elif defined(__sw_64__)|| defined (__sw_64)
|
||||||
|
+#define AES_LE_OK 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef AES_LE_OK
|
||||||
@ -1,12 +1,13 @@
|
|||||||
Name: strongswan
|
Name: strongswan
|
||||||
Version: 5.9.10
|
Version: 5.9.10
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: An OpenSource IPsec-based VPN and TNC solution
|
Summary: An OpenSource IPsec-based VPN and TNC solution
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.strongswan.org/
|
URL: http://www.strongswan.org/
|
||||||
Source0: http://download.strongswan.org/strongswan-%{version}.tar.bz2
|
Source0: http://download.strongswan.org/strongswan-%{version}.tar.bz2
|
||||||
|
|
||||||
Patch0: remove-warning-no-format.patch
|
Patch0: remove-warning-no-format.patch
|
||||||
|
Patch1: aes-crypter-support-sw64-arch.patch
|
||||||
|
|
||||||
BuildRequires: gcc chrpath autoconf automake libtool tpm2-abrmd
|
BuildRequires: gcc chrpath autoconf automake libtool tpm2-abrmd
|
||||||
BuildRequires: systemd-devel gmp-devel libcurl-devel NetworkManager-libnm-devel openldap-devel
|
BuildRequires: systemd-devel gmp-devel libcurl-devel NetworkManager-libnm-devel openldap-devel
|
||||||
@ -192,6 +193,9 @@ echo "%{_libdir}/strongswan" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.co
|
|||||||
%{_libexecdir}/strongswan/charon-nm
|
%{_libexecdir}/strongswan/charon-nm
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Oct 08 2023 openhosec <openhosec@hosec.net> - 5.9.10-3
|
||||||
|
- aes crypter support sw64 arch
|
||||||
|
|
||||||
* Tue Sept 19 2023 openhosec <openhosec@hosec.net> - 5.9.10-2
|
* Tue Sept 19 2023 openhosec <openhosec@hosec.net> - 5.9.10-2
|
||||||
- fixed unable to set openssl fips mode
|
- fixed unable to set openssl fips mode
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user