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.patch14
1 files changed, 5 insertions, 9 deletions
diff --git a/package/libs/cyassl/patches/400-additional_compatibility.patch b/package/libs/cyassl/patches/400-additional_compatibility.patch
index 07956f1209..4d75d98906 100644
--- a/package/libs/cyassl/patches/400-additional_compatibility.patch
+++ b/package/libs/cyassl/patches/400-additional_compatibility.patch
@@ -1,16 +1,12 @@
--- a/cyassl/openssl/ssl.h
+++ b/cyassl/openssl/ssl.h
-@@ -24,4 +24,13 @@
- *
- */
+@@ -27,6 +27,9 @@
+ #define CYASSL_OPENSSL_H_
-+#ifndef CYASSL_OPENSSL_H_
-+#define CYASSL_OPENSSL_H_
-+
-+#include <cyassl/ssl.h>
+ #include <cyassl/ssl.h>
+#ifndef HAVE_SNI
+#undef CYASSL_SNI_HOST_NAME
+#endif
#include <wolfssl/openssl/ssl.h>
-+
-+#endif
+
+ #endif