aes crypter support sw64 arch
This commit is contained in:
parent
022f813a74
commit
615a307365
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
|
||||
Version: 5.9.10
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: An OpenSource IPsec-based VPN and TNC solution
|
||||
License: GPLv2+
|
||||
URL: http://www.strongswan.org/
|
||||
Source0: http://download.strongswan.org/strongswan-%{version}.tar.bz2
|
||||
|
||||
Patch0: remove-warning-no-format.patch
|
||||
Patch1: aes-crypter-support-sw64-arch.patch
|
||||
|
||||
BuildRequires: gcc chrpath autoconf automake libtool tpm2-abrmd
|
||||
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
|
||||
|
||||
%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
|
||||
- fixed unable to set openssl fips mode
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user