First git repo commit for the libreCMC project
[librecmc/librecmc.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