openwrt/package/libs/wolfssl/patches/400-additional_compatibility.patch

13 lines
225 B
Diff
Raw Normal View History

--- a/cyassl/openssl/ssl.h
+++ b/cyassl/openssl/ssl.h
@@ -28,6 +28,9 @@
#define CYASSL_OPENSSL_H_
#include <cyassl/ssl.h>
+#ifndef HAVE_SNI
+#undef CYASSL_SNI_HOST_NAME
+#endif
#include <wolfssl/openssl/ssl.h>
#endif