1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-23 06:25:24 +00:00

Fix: do not FTBFS in case OpenSSL support is not compiled in

This commit is contained in:
Philipp Schafft 2015-02-23 21:43:07 +00:00
parent 65e5bc64a2
commit 225c6f240a

View File

@ -697,7 +697,11 @@ static inline xmlNodePtr __add_listener(client_t *client,
if (client->role)
xmlNewChild(node, NULL, XMLSTR("role"), XMLSTR(client->role));
#ifdef HAVE_OPENSSL
xmlNewChild(node, NULL, XMLSTR("tls"), XMLSTR(client->con->ssl ? "true" : "false"));
#else
xmlNewChild(node, NULL, XMLSTR("tls"), XMLSTR("false"));
#endif
return node;
}