2015-07-03 23:20:01 +00:00
|
|
|
--- a/wolfssl/openssl/ssl.h
|
|
|
|
+++ b/wolfssl/openssl/ssl.h
|
2015-12-05 15:45:31 +00:00
|
|
|
@@ -401,6 +401,8 @@ typedef WOLFSSL_X509_STORE_CTX X509_STOR
|
2015-07-03 23:20:36 +00:00
|
|
|
/* yassl had set the default to be 500 */
|
2015-07-03 23:20:01 +00:00
|
|
|
#define SSL_get_default_timeout(ctx) 500
|
2015-04-01 10:42:28 +00:00
|
|
|
|
2015-07-03 23:20:01 +00:00
|
|
|
+#define SSL_set_tlsext_host_name(x, y) wolfSSL_UseSNI(x, WOLFSSL_SNI_HOST_NAME, y, strlen(y))
|
2015-12-05 15:45:31 +00:00
|
|
|
+
|
|
|
|
/* Lighthttp compatability */
|
2015-04-01 10:42:28 +00:00
|
|
|
|
2015-12-05 15:45:31 +00:00
|
|
|
#ifdef HAVE_LIGHTY
|
|
|
|
@@ -483,7 +485,6 @@ typedef WOLFSSL_ASN1_BIT_STRING ASN1_
|
|
|
|
#define SSL_TLSEXT_ERR_NOACK alert_warning
|
|
|
|
#define TLSEXT_NAMETYPE_host_name WOLFSSL_SNI_HOST_NAME
|
|
|
|
|
|
|
|
-#define SSL_set_tlsext_host_name wolfSSL_set_tlsext_host_name
|
|
|
|
#define SSL_get_servername wolfSSL_get_servername
|
|
|
|
#define SSL_set_SSL_CTX wolfSSL_set_SSL_CTX
|
|
|
|
#define SSL_CTX_get_verify_callback wolfSSL_CTX_get_verify_callback
|