[openwrt/openwrt] wolfssl: enable HAVE_SECRET_CALLBACK
LEDE Commits
lede-commits at lists.infradead.org
Tue Feb 2 05:24:49 EST 2021
ynezz pushed a commit to openwrt/openwrt.git, branch openwrt-19.07:
https://git.openwrt.org/3100649458387f844aa447bdb3bbac3e4d7e32da
commit 3100649458387f844aa447bdb3bbac3e4d7e32da
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Sat Jan 2 14:36:03 2021 +0100
wolfssl: enable HAVE_SECRET_CALLBACK
Fixes wpad-wolfssl build
Signed-off-by: Felix Fietkau <nbd at nbd.name>
(cherry picked from commit 55e23f2c02ae95e84613ed7d1cbf8aba557b8682)
---
package/libs/wolfssl/patches/120-enable-secret-callback.patch | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/package/libs/wolfssl/patches/120-enable-secret-callback.patch b/package/libs/wolfssl/patches/120-enable-secret-callback.patch
new file mode 100644
index 0000000000..9c9b361d01
--- /dev/null
+++ b/package/libs/wolfssl/patches/120-enable-secret-callback.patch
@@ -0,0 +1,10 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -943,6 +943,7 @@ then
+ AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_ALWAYS_KEEP_SNI"
+ AM_CFLAGS="$AM_CFLAGS -DHAVE_EX_DATA"
+ AM_CFLAGS="$AM_CFLAGS -DHAVE_EXT_CACHE"
++ AM_CFLAGS="$AM_CFLAGS -DHAVE_SECRET_CALLBACK"
+ AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_EITHER_SIDE"
+ AM_CFLAGS="$AM_CFLAGS -DOPENSSL_EXTRA_X509_SMALL"
+
More information about the lede-commits
mailing list