1464e9d2a899e002ee9a6a840a6b53054329367a
[openwrt/openwrt.git] / package / libs / cyassl / patches / 400-additional_compatibility.patch
1 --- a/cyassl/openssl/ssl.h
2 +++ b/cyassl/openssl/ssl.h
3 @@ -28,6 +28,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