From f1f85a4859e53e445bf2d12f7fc9dad6efe0bb68 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Tue, 30 Dec 2014 00:39:50 +0100 Subject: [PATCH] - enable TLS - void* is better here then char* --- citadel/modules/xmpp/serv_xmpp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/citadel/modules/xmpp/serv_xmpp.c b/citadel/modules/xmpp/serv_xmpp.c index ea58e3b62..424c0fdbb 100644 --- a/citadel/modules/xmpp/serv_xmpp.c +++ b/citadel/modules/xmpp/serv_xmpp.c @@ -237,13 +237,13 @@ void xmpp_stream_start(void *data, const char *supplied_el, const char **attr) /* * TLS encryption (but only if it isn't already active) */ -/* + #ifdef HAVE_OPENSSL if (!CC->redirect_ssl) { XPUT(""); } #endif -*/ + //*/ if (!CC->logged_in) { /* If we're not logged in yet, offer SASL as our feature set */ xmpp_output_auth_mechs(); @@ -351,7 +351,7 @@ void xmpp_xml_start(void *data, const char *supplied_el, const char **attr) if (GetHash(th->Properties, attr[i], strlen(attr[i]), &pv)) { PropertyHandler* ph = pv; - char *val; + void *val; StrBuf **pVal; long len; -- 2.30.2