- enable TLS
authorWilfried Goesgens <dothebart@citadel.org>
Mon, 29 Dec 2014 23:39:50 +0000 (00:39 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Mon, 29 Dec 2014 23:39:50 +0000 (00:39 +0100)
 - void* is better here then char*

citadel/modules/xmpp/serv_xmpp.c

index ea58e3b627dbf9efd6fe658419ed5dfc14f29ee5..424c0fdbb20608668c744f99fdd289ee2d6eb3e2 100644 (file)
@@ -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("<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'></starttls>");
        }
 #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;