mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 11:16:31 +04:00
This symbol is an enum defined both in wolfssl and strongswan. This creates a clash in C's flat namespace. A workaround is to redefine it when we include wolfssl headers, but really one of the other should pick a better name. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
12 lines
311 B
Diff
12 lines
311 B
Diff
--- a/src/libstrongswan/plugins/wolfssl/wolfssl_plugin.c
|
|
+++ b/src/libstrongswan/plugins/wolfssl/wolfssl_plugin.c
|
|
@@ -27,6 +27,8 @@
|
|
#include <library.h>
|
|
#include <utils/debug.h>
|
|
|
|
+#define PARSE_ERROR WOLFSSL_PARSE_ERROR
|
|
+
|
|
#include "wolfssl_plugin.h"
|
|
#include "wolfssl_aead.h"
|
|
#include "wolfssl_crypter.h"
|