aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/cyassl/patches/300-SSL_set_tlsext_host_name.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2015-07-03 23:20:01 +0000
committerHauke Mehrtens <hauke@openwrt.org>2015-07-03 23:20:01 +0000
commit5d7b3be898108187e0e2e3306dc6fcbb423c8d47 (patch)
tree03dbc514b8c2e06c4c00ac4933da8e25d4285c54 /package/libs/cyassl/patches/300-SSL_set_tlsext_host_name.patch
parent596345c98d86e0f7e98649356c57c4ea1a48299c (diff)
downloadmaster-187ad058-5d7b3be898108187e0e2e3306dc6fcbb423c8d47.tar.gz
master-187ad058-5d7b3be898108187e0e2e3306dc6fcbb423c8d47.tar.bz2
master-187ad058-5d7b3be898108187e0e2e3306dc6fcbb423c8d47.zip
cyassl: version bump to 3.4.6
This patch introduces a new build error into coova-chilli, but coova-chilli already fails to build even without it anyway. CyaSSL is now called wolfSSL, and all the API's have been renamed, and backward-compatibility headers added. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46167 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch10
1 files changed, 5 insertions, 5 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 d81e416180..5bccb05133 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,10 +1,10 @@
---- a/cyassl/openssl/ssl.h
-+++ b/cyassl/openssl/ssl.h
-@@ -372,6 +373,7 @@
- #define SSL_CTX_get_ex_new_index CyaSSL_CTX_get_ex_new_index
+--- a/wolfssl/openssl/ssl.h
++++ b/wolfssl/openssl/ssl.h
+@@ -398,6 +398,7 @@
+ #define SSL_get_default_timeout(ctx) 500
-+#define SSL_set_tlsext_host_name(x, y) CyaSSL_UseSNI(x, CYASSL_SNI_HOST_NAME, y, strlen(y))
++#define SSL_set_tlsext_host_name(x, y) wolfSSL_UseSNI(x, WOLFSSL_SNI_HOST_NAME, y, strlen(y))
#ifdef __cplusplus
} /* extern "C" */