mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/strongswan: fix build w/ wolfssl 5.9.2
The 'mlkem.h' header is no longer present in wolfssl v5.9.2 [1] and the content was merged in the 'wc_mlkem.h' header. [1]7a2cf5b655Signed-off-by: Thomas Perale <thomas.perale@mind.be> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commit275faf6d61) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
@@ -0,0 +1,25 @@
|
|||||||
|
From 60336ceecbd1cda73aa26dd44cfdaf2e31a046e1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Tobias Brunner <tobias@strongswan.org>
|
||||||
|
Date: Fri, 4 Oct 2024 11:23:28 +0200
|
||||||
|
Subject: [PATCH] wolfssl: Don't undef PARSE_ERROR as headers included later
|
||||||
|
might refer to it
|
||||||
|
|
||||||
|
Upstream: https://github.com/strongswan/strongswan/commit/60336ceecbd1cda73aa26dd44cfdaf2e31a046e1
|
||||||
|
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
|
||||||
|
---
|
||||||
|
src/libstrongswan/plugins/wolfssl/wolfssl_common.h | 2 --
|
||||||
|
1 file changed, 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/libstrongswan/plugins/wolfssl/wolfssl_common.h b/src/libstrongswan/plugins/wolfssl/wolfssl_common.h
|
||||||
|
index 9c944e7119..ef6c3da7b2 100644
|
||||||
|
--- a/src/libstrongswan/plugins/wolfssl/wolfssl_common.h
|
||||||
|
+++ b/src/libstrongswan/plugins/wolfssl/wolfssl_common.h
|
||||||
|
@@ -78,8 +78,6 @@ typedef union {
|
||||||
|
} wolfssl_ed_key;
|
||||||
|
#endif /* HAVE_ED25519 || HAVE_ED448 */
|
||||||
|
|
||||||
|
-#undef PARSE_ERROR
|
||||||
|
-
|
||||||
|
/* Eliminate macro conflicts */
|
||||||
|
#undef RNG
|
||||||
|
|
||||||
Reference in New Issue
Block a user