summaryrefslogtreecommitdiff
path: root/package/libs/cyassl/patches/400-additional_compatibility.patch
blob: 360fb148cfc20a4ce14de81376e79d0539cadc46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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