ustream-ssl: make ustream_ssl.server_name const
[project/ustream-ssl.git] / 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;