[OpenWrt-Devel] [PATCH] ustream-ssl: make ustream_ssl.server_name const

Alexander Couzens lynxis at fe80.eu
Thu Aug 6 07:01:34 EDT 2015


Signed-off-by: Alexander Couzens <lynxis at fe80.eu>
---
 ustream-ssl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Hi Felix,

can you please update CC too? BB would be also nice, if 
it still maintained.
Follow-up patch for uclient-fetch will fix SNI.

Best,
lynxis

diff --git a/ustream-ssl.h b/ustream-ssl.h
index 0c55344..7787788 100644
--- a/ustream-ssl.h
+++ b/ustream-ssl.h
@@ -34,7 +34,7 @@ struct ustream_ssl {
 	void *ssl;
 
 	char *peer_cn;
-	char *server_name;
+	const char *server_name;
 
 	int error;
 	bool connected;
-- 
2.5.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list