openwrtv3/package/libs/cyassl/patches/400-additional_compatibility.patch
Hauke Mehrtens 69a2459c66 cyassl: update to wolfssl 3.6.0
Upstream wolfssl already has better checks to detect broken ssl v2
ClientHellos, we can remove our hack.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46168
2015-07-03 23:20:36 +00:00

16 lines
264 B
Diff

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