400-additional_compatibility.patch 264 B

12345678910111213141516
  1. --- a/cyassl/openssl/ssl.h
  2. +++ b/cyassl/openssl/ssl.h
  3. @@ -24,4 +24,13 @@
  4. *
  5. */
  6. +#ifndef CYASSL_OPENSSL_H_
  7. +#define CYASSL_OPENSSL_H_
  8. +
  9. +#include <cyassl/ssl.h>
  10. +#ifndef HAVE_SNI
  11. +#undef CYASSL_SNI_HOST_NAME
  12. +#endif
  13. #include <wolfssl/openssl/ssl.h>
  14. +
  15. +#endif