ustream-ssl: make ustream_ssl.server_name const
authorAlexander Couzens <lynxis@fe80.eu>
Thu, 6 Aug 2015 11:01:34 +0000 (13:01 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 6 Aug 2015 14:27:17 +0000 (16:27 +0200)
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
ustream-ssl.h

index 0c5534464e54282dd6f3b371b315e99da1e2e4c9..77877885e43103c0e86224e6f6b2a427cf79ef2c 100644 (file)
@@ -34,7 +34,7 @@ struct ustream_ssl {
        void *ssl;
 
        char *peer_cn;
-       char *server_name;
+       const char *server_name;
 
        int error;
        bool connected;