aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/cyassl/patches/300-SSL_set_tlsext_host_name.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2015-07-03 23:20:36 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2015-07-03 23:20:36 +0000
commit69a2459c668e9ddf129bbff94633a621e21aeca8 (patch)
tree01975115d8f2c5369f8db4b7b0ef1af01dabf0e2 /package/libs/cyassl/patches/300-SSL_set_tlsext_host_name.patch
parent9177e160987af4939b65b865adc1be916e28b997 (diff)
downloadupstream-69a2459c668e9ddf129bbff94633a621e21aeca8.tar.gz
upstream-69a2459c668e9ddf129bbff94633a621e21aeca8.tar.bz2
upstream-69a2459c668e9ddf129bbff94633a621e21aeca8.zip
cyassl: update to wolfssl 3.6.0
Upstream wolfssl already has better checks to detect broken ssl v2 ClientHellos, we can remove our hack. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46168
Diffstat (limited to 'package/libs/cyassl/patches/300-SSL_set_tlsext_host_name.patch')
-rw-r--r--package/libs/cyassl/patches/300-SSL_set_tlsext_host_name.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/libs/cyassl/patches/300-SSL_set_tlsext_host_name.patch b/package/libs/cyassl/patches/300-SSL_set_tlsext_host_name.patch
index 5bccb05133..00a23fe798 100644
--- a/package/libs/cyassl/patches/300-SSL_set_tlsext_host_name.patch
+++ b/package/libs/cyassl/patches/300-SSL_set_tlsext_host_name.patch
@@ -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