aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/wolfssl
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-01-02 14:36:03 +0100
committerFelix Fietkau <nbd@nbd.name>2021-01-02 14:36:25 +0100
commit55e23f2c02ae95e84613ed7d1cbf8aba557b8682 (patch)
tree9a52b5052901f9c0e1c77fb00bc19f09c4766392 /package/libs/wolfssl
parent1b002434f0516d682bc8fbefc59b396435205621 (diff)
downloadupstream-55e23f2c02ae95e84613ed7d1cbf8aba557b8682.tar.gz
upstream-55e23f2c02ae95e84613ed7d1cbf8aba557b8682.tar.bz2
upstream-55e23f2c02ae95e84613ed7d1cbf8aba557b8682.zip
wolfssl: enable HAVE_SECRET_CALLBACK
Fixes wpad-wolfssl build Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/libs/wolfssl')
-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"
+