Enable XMPP over TLS
authorArt Cancro <ajc@citadel.org>
Fri, 18 Feb 2011 16:20:52 +0000 (11:20 -0500)
committerArt Cancro <ajc@citadel.org>
Fri, 18 Feb 2011 16:20:52 +0000 (11:20 -0500)
citadel/modules/xmpp/serv_xmpp.c

index 835b30195bd1230760468a277e1a73ab575e64d0..52c3c3f2f27e5a61e2ef9a417a1f124091469867 100644 (file)
@@ -144,7 +144,7 @@ void xmpp_stream_start(void *data, const char *supplied_el, const char **attr)
        /* The features of this stream are... */
        cprintf("<stream:features>");
 
-#ifdef HAVE_OPENSSL_XXXX_COMMENTED_OUT
+#ifdef HAVE_OPENSSL
        /* TLS encryption (but only if it isn't already active) */
        if (!CC->redirect_ssl) {
                cprintf("<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'></starttls>");