Author: blogic
Date: 2015-04-01 12:42:28 +0200 (Wed, 01 Apr 2015)
New Revision: 45215

Added:
   trunk/package/libs/cyassl/patches/300-SSL_set_tlsext_host_name.patch
Modified:
   trunk/package/libs/cyassl/Makefile
Log:
cyassl: add support for SSL_set_tlsext_host_name

Signed-off-by: John Crispin <[email protected]>

Modified: trunk/package/libs/cyassl/Makefile
===================================================================
--- trunk/package/libs/cyassl/Makefile  2015-04-01 09:03:13 UTC (rev 45214)
+++ trunk/package/libs/cyassl/Makefile  2015-04-01 10:42:28 UTC (rev 45215)
@@ -40,6 +40,8 @@
 CONFIGURE_ARGS += \
        --without-zlib \
        --enable-singlethreaded \
+       --enable-opensslextra \
+       --enable-sni \
        --disable-examples
 
 define Build/InstallDev

Added: trunk/package/libs/cyassl/patches/300-SSL_set_tlsext_host_name.patch
===================================================================
--- trunk/package/libs/cyassl/patches/300-SSL_set_tlsext_host_name.patch        
                        (rev 0)
+++ trunk/package/libs/cyassl/patches/300-SSL_set_tlsext_host_name.patch        
2015-04-01 10:42:28 UTC (rev 45215)
@@ -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" */
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to