summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/strongswan/files/0001-enum-Fix-compiler-warning.patch
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2022-08-03 09:23:49 +0800
committerKhem Raj <raj.khem@gmail.com>2022-08-06 09:40:09 -0700
commit42f8c22fcfde9200899492f45807efc3423f0083 (patch)
tree18102367f7423d7198dfffe3b7b1d35d81d90f40 /meta-networking/recipes-support/strongswan/files/0001-enum-Fix-compiler-warning.patch
parent5abd81567d5ed091ed870abf24e51f260747d593 (diff)
downloadmeta-openembedded-42f8c22fcfde9200899492f45807efc3423f0083.tar.gz
strongswan: upgrade 5.9.6 -> 5.9.7
ChangeLog: https://github.com/strongswan/strongswan/releases/tag/5.9.7 * Drop backport patch 0001-enum-Fix-compiler-warning.patch. * Update RDEPENDS to fix strongswan startup failures: plugin 'mgf1': failed to load - mgf1_plugin_create not found and no plugin file available plugin 'fips-prf': failed to load - fips_prf_plugin_create not found and no plugin file available plugin 'kdf': failed to load - kdf_plugin_create not found and no plugin file available plugin 'drbg': failed to load - drbg_plugin_create not found and no plugin file available Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/strongswan/files/0001-enum-Fix-compiler-warning.patch')
-rw-r--r--meta-networking/recipes-support/strongswan/files/0001-enum-Fix-compiler-warning.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/meta-networking/recipes-support/strongswan/files/0001-enum-Fix-compiler-warning.patch b/meta-networking/recipes-support/strongswan/files/0001-enum-Fix-compiler-warning.patch
deleted file mode 100644
index e730fe1cd0..0000000000
--- a/meta-networking/recipes-support/strongswan/files/0001-enum-Fix-compiler-warning.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From d23c0ea81e630af3cfda89aeeb52146c0c84c960 Mon Sep 17 00:00:00 2001
2From: Tobias Brunner <tobias@strongswan.org>
3Date: Mon, 2 May 2022 09:31:49 +0200
4Subject: [PATCH] enum: Fix compiler warning
5
6Closes strongswan/strongswan#1025
7
8Upstream-Status: Backport
9[https://github.com/strongswan/strongswan/commit/d23c0ea81e630af3cfda89aeeb52146c0c84c960]
10
11Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
12---
13 src/libstrongswan/utils/enum.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/src/libstrongswan/utils/enum.c b/src/libstrongswan/utils/enum.c
17index 79da450f0c..1e77489f6f 100644
18--- a/src/libstrongswan/utils/enum.c
19+++ b/src/libstrongswan/utils/enum.c
20@@ -97,7 +97,7 @@ char *enum_flags_to_string(enum_name_t *e, u_int val, char *buf, size_t len)
21 return buf;
22 }
23
24- if (snprintf(buf, len, e->names[0]) >= len)
25+ if (snprintf(buf, len, "%s", e->names[0]) >= len)
26 {
27 return NULL;
28 }
29--
302.25.1
31