1 --- a/wolfssl/openssl/ssl.h
2 +++ b/wolfssl/openssl/ssl.h
3 @@ -401,6 +401,8 @@ typedef WOLFSSL_X509_STORE_CTX X509_STOR
4 /* yassl had set the default to be 500 */
5 #define SSL_get_default_timeout(ctx) 500
7 +#define SSL_set_tlsext_host_name(x, y) wolfSSL_UseSNI(x, WOLFSSL_SNI_HOST_NAME, y, strlen(y))
9 /* Lighthttp compatability */
12 @@ -487,7 +489,6 @@ typedef WOLFSSL_ASN1_BIT_STRING ASN1_
13 #define SSL_TLSEXT_ERR_NOACK alert_warning
14 #define TLSEXT_NAMETYPE_host_name WOLFSSL_SNI_HOST_NAME
16 -#define SSL_set_tlsext_host_name wolfSSL_set_tlsext_host_name
17 #define SSL_get_servername wolfSSL_get_servername
18 #define SSL_set_SSL_CTX wolfSSL_set_SSL_CTX
19 #define SSL_CTX_get_verify_callback wolfSSL_CTX_get_verify_callback