aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/cyassl/patches/400-additional_compatibility.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/cyassl/patches/400-additional_compatibility.patch')
-rw-r--r--package/libs/cyassl/patches/400-additional_compatibility.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/libs/cyassl/patches/400-additional_compatibility.patch b/package/libs/cyassl/patches/400-additional_compatibility.patch
new file mode 100644
index 0000000000..360fb148cf
--- /dev/null
+++ b/package/libs/cyassl/patches/400-additional_compatibility.patch
@@ -0,0 +1,15 @@
+--- a/cyassl/openssl/ssl.h 2015-02-25 13:04:52.000000000 -0800
++++ b/cyassl/openssl/ssl.h 2015-05-20 11:13:44.476628943 -0700
+@@ -25,3 +25,12 @@
+ */
+
++#ifndef CYASSL_OPENSSL_H_
++#define CYASSL_OPENSSL_H_
++
++#include <cyassl/ssl.h>
++#ifndef HAVE_SNI
++#undef CYASSL_SNI_HOST_NAME
++#endif
+ #include <wolfssl/openssl/ssl.h>
++
++#endif