cyassl: update to wolfSSL version 3.7.0
[openwrt/openwrt.git] / package / libs / cyassl / patches / 400-additional_compatibility.patch
1 --- a/cyassl/openssl/ssl.h
2 +++ b/cyassl/openssl/ssl.h
3 @@ -27,6 +27,9 @@
4 #define CYASSL_OPENSSL_H_
5
6 #include <cyassl/ssl.h>
7 +#ifndef HAVE_SNI
8 +#undef CYASSL_SNI_HOST_NAME
9 +#endif
10 #include <wolfssl/openssl/ssl.h>
11
12 #endif