300-SSL_set_tlsext_host_name.patch 345 B

12345678910
  1. --- a/wolfssl/openssl/ssl.h
  2. +++ b/wolfssl/openssl/ssl.h
  3. @@ -397,6 +397,7 @@ typedef WOLFSSL_X509_STORE_CTX X509_STOR
  4. /* yassl had set the default to be 500 */
  5. #define SSL_get_default_timeout(ctx) 500
  6. +#define SSL_set_tlsext_host_name(x, y) wolfSSL_UseSNI(x, WOLFSSL_SNI_HOST_NAME, y, strlen(y))
  7. #ifdef __cplusplus
  8. } /* extern "C" */