Commit 225c6f24 authored by Philipp Schafft's avatar Philipp Schafft 🦁

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

parent 65e5bc64
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment