diff options
author | John Crispin <john@openwrt.org> | 2015-04-01 10:42:28 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-04-01 10:42:28 +0000 |
commit | b233fdcfa2c70594dfb05cdea021cda3684b35a3 (patch) | |
tree | 6a31de0947749f9cbfa3162fe4685796c059186c /package/libs/cyassl/patches | |
parent | eeff1f0a12636d80450a50a491af5aa5cb30e6ec (diff) | |
download | upstream-b233fdcfa2c70594dfb05cdea021cda3684b35a3.tar.gz upstream-b233fdcfa2c70594dfb05cdea021cda3684b35a3.tar.bz2 upstream-b233fdcfa2c70594dfb05cdea021cda3684b35a3.zip |
cyassl: add support for SSL_set_tlsext_host_name
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45215
Diffstat (limited to 'package/libs/cyassl/patches')
-rw-r--r-- | package/libs/cyassl/patches/300-SSL_set_tlsext_host_name.patch | 10 |
1 files changed, 10 insertions, 0 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 new file mode 100644 index 0000000000..d81e416180 --- /dev/null +++ b/package/libs/cyassl/patches/300-SSL_set_tlsext_host_name.patch @@ -0,0 +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 + + ++#define SSL_set_tlsext_host_name(x, y) CyaSSL_UseSNI(x, CYASSL_SNI_HOST_NAME, y, strlen(y)) + + #ifdef __cplusplus + } /* extern "C" */ |