cyassl: update to wolfssl 3.6.0
[openwrt/staging/rmilecki.git] / package / libs / cyassl / patches / 300-SSL_set_tlsext_host_name.patch
index 5bccb051330cff893e7a065c112bd8bca23676a2..00a23fe798dbfa7a924f76df86f0ba7020a694db 100644 (file)
@@ -1,9 +1,9 @@
 --- a/wolfssl/openssl/ssl.h
 +++ b/wolfssl/openssl/ssl.h
-@@ -398,6 +398,7 @@
+@@ -397,6 +397,7 @@ typedef WOLFSSL_X509_STORE_CTX X509_STOR
+ /* yassl had set the default to be 500 */
  #define SSL_get_default_timeout(ctx) 500
  
 +#define SSL_set_tlsext_host_name(x, y) wolfSSL_UseSNI(x, WOLFSSL_SNI_HOST_NAME, y, strlen(y))
  
  #ifdef __cplusplus