cyassl/wolfssl: update to 3.9.0
wolfssl has a fine grained feature and compatibility control for compiling stunnel, lighthttp or (partly) openssl dropin ustream-ssl uses features that require normally HAVE_SNI, HAVE_STUNNEL and the openssl compatibility headers ar71xx ipkg sizes of wolfssl 3.9.0: - with stunnel: 144022 - this patch (w.o. stunnel): 131712 - without openssl(extra): 111104 - w.o openssl/sni:108515 - w.o openssl/sni/ecc: 93954 so patch 300 saves around 12k compressed ipkg size v2: keep & rename patch 300 for clarity, fixes ustream-ssl/cyassl that broke with v1 Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>v19.07.3_mercusys_ac12_duma
parent
48ff6eff8c
commit
de27a1adae
@ -1,15 +1,15 @@
|
|||||||
--- a/wolfssl/openssl/ssl.h
|
--- a/wolfssl/openssl/ssl.h
|
||||||
+++ b/wolfssl/openssl/ssl.h
|
+++ b/wolfssl/openssl/ssl.h
|
||||||
@@ -401,6 +401,8 @@ typedef WOLFSSL_X509_STORE_CTX X509_STOR
|
@@ -402,6 +402,8 @@ typedef WOLFSSL_X509_STORE_CTX X509_STOR
|
||||||
/* yassl had set the default to be 500 */
|
/* yassl had set the default to be 500 */
|
||||||
#define SSL_get_default_timeout(ctx) 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))
|
+#define SSL_set_tlsext_host_name(x, y) wolfSSL_UseSNI(x, WOLFSSL_SNI_HOST_NAME, y, strlen(y))
|
||||||
+
|
+
|
||||||
/* Lighthttp compatability */
|
/* Lighthttp compatibility */
|
||||||
|
|
||||||
#ifdef HAVE_LIGHTY
|
#ifdef HAVE_LIGHTY
|
||||||
@@ -487,7 +489,6 @@ typedef WOLFSSL_ASN1_BIT_STRING ASN1_
|
@@ -488,7 +490,6 @@ typedef WOLFSSL_ASN1_BIT_STRING ASN1_
|
||||||
#define SSL_TLSEXT_ERR_NOACK alert_warning
|
#define SSL_TLSEXT_ERR_NOACK alert_warning
|
||||||
#define TLSEXT_NAMETYPE_host_name WOLFSSL_SNI_HOST_NAME
|
#define TLSEXT_NAMETYPE_host_name WOLFSSL_SNI_HOST_NAME
|
||||||
|
|
Loading…
Reference in New Issue