mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
Fix: do not FTBFS in case OpenSSL support is not compiled in
This commit is contained in:
parent
65e5bc64a2
commit
225c6f240a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user