aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-01-02 14:36:03 +0100
committerPetr Štetiar <ynezz@true.cz>2021-02-02 10:09:37 +0100
commit3100649458387f844aa447bdb3bbac3e4d7e32da (patch)
treec41a122f34addf72ddbe09be42ac79f7810bdf75 /package
parente9d2aa9dc6a5663e3d43fc817d276582842134bb (diff)
downloadupstream-3100649458387f844aa447bdb3bbac3e4d7e32da.tar.gz
upstream-3100649458387f844aa447bdb3bbac3e4d7e32da.tar.bz2
upstream-3100649458387f844aa447bdb3bbac3e4d7e32da.zip
wolfssl: enable HAVE_SECRET_CALLBACK
Fixes wpad-wolfssl build Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry picked from commit 55e23f2c02ae95e84613ed7d1cbf8aba557b8682)
Diffstat (limited to 'package')
-rw-r--r--package/libs/wolfssl/patches/120-enable-secret-callback.patch10
1 files changed, 10 insertions, 0 deletions
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"
+