aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/wolfssl/patches/400-additional_compatibility.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/wolfssl/patches/400-additional_compatibility.patch')
-rw-r--r--package/libs/wolfssl/patches/400-additional_compatibility.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/libs/wolfssl/patches/400-additional_compatibility.patch b/package/libs/wolfssl/patches/400-additional_compatibility.patch
new file mode 100644
index 0000000000..1464e9d2a8
--- /dev/null
+++ b/package/libs/wolfssl/patches/400-additional_compatibility.patch
@@ -0,0 +1,12 @@
+--- a/cyassl/openssl/ssl.h
++++ b/cyassl/openssl/ssl.h
+@@ -28,6 +28,9 @@
+ #define CYASSL_OPENSSL_H_
+
+ #include <cyassl/ssl.h>
++#ifndef HAVE_SNI
++#undef CYASSL_SNI_HOST_NAME
++#endif
+ #include <wolfssl/openssl/ssl.h>
+
+ #endif