Commit 4907c91f authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Fixed c2s TLS status. JM-733

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4109 b35dd754-fafc-0310-a699-88a17e54d16e
parent 7ed97e50
...@@ -285,7 +285,7 @@ public class ConnectionMultiplexerSession extends Session { ...@@ -285,7 +285,7 @@ public class ConnectionMultiplexerSession extends Session {
// Add info about TLS // Add info about TLS
if (ClientSession.getTLSPolicy() != Connection.TLSPolicy.disabled) { if (ClientSession.getTLSPolicy() != Connection.TLSPolicy.disabled) {
Element tls = child.addElement("starttls", "urn:ietf:params:xml:ns:xmpp-tls"); Element tls = child.addElement("starttls", "urn:ietf:params:xml:ns:xmpp-tls");
if (ClientSession.getTLSPolicy() != Connection.TLSPolicy.required) { if (ClientSession.getTLSPolicy() == Connection.TLSPolicy.required) {
tls.addElement("required"); tls.addElement("required");
} }
......
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