aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/cyassl/patches/400-additional_compatibility.patch
blob: 07956f12096216c6a84dea6d6e0b2caad964e20b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/cyassl/openssl/ssl.h
+++ b/cyassl/openssl/ssl.h
@@ -24,4 +24,13 @@
  *
  */
 
+#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