summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2015-08-06 13:01:34 +0200
committerFelix Fietkau <nbd@openwrt.org>2015-08-06 16:27:17 +0200
commit27d050839035309c909cb86661d4eabb04833efa (patch)
tree747e9b693e32647289ce144531feafa636dc525c
parentc2d73c22618e8ee444e8d346695eca908ecb72d3 (diff)
downloadustream-ssl-27d050839035309c909cb86661d4eabb04833efa.tar.gz
ustream-ssl: make ustream_ssl.server_name const
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
-rw-r--r--ustream-ssl.h2
1 files changed, 1 insertions, 1 deletions
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;