0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-12 04:38:06 +00:00
packages/net/strongswan/patches/0905-wolfssl-parse_error.patch
Matt Eaton 1cc7069c64 strongswan: fix compilation against wolfssl
Backports upstream patch fix compilation error against recent versions of wolfssl.

Closes https://github.com/openwrt/packages/issues/25877

Signed-off-by: Matt Eaton <git@divinehawk.com>
2025-02-03 16:36:25 +01:00

20 lines
616 B
Diff

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
---
src/libstrongswan/plugins/wolfssl/wolfssl_common.h | 2 --
1 file changed, 2 deletions(-)
--- a/src/libstrongswan/plugins/wolfssl/wolfssl_common.h
+++ b/src/libstrongswan/plugins/wolfssl/wolfssl_common.h
@@ -78,6 +78,4 @@ typedef union {
} wolfssl_ed_key;
#endif /* HAVE_ED25519 || HAVE_ED448 */
-#undef PARSE_ERROR
-
#endif /* WOLFSSL_PLUGIN_COMMON_H_ */