openwrtv4/package/libs/cyassl/patches/400-additional_compatibility.patch

16 lines
332 B
Diff
Raw Normal View History

--- 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