Commit 524afcf3 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Added support for TLS negotiation as a client. JM-395

git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@2863 b35dd754-fafc-0310-a699-88a17e54d16e
parent 09bce810
......@@ -458,7 +458,7 @@ public abstract class SocketReader implements Runnable {
private boolean negotiateTLS() throws IOException, XmlPullParserException {
// Negotiate TLS.
try {
connection.startTLS();
connection.startTLS(false);
}
catch (IOException e) {
connection.deliverRawText("<failure xmlns=\"urn:ietf:params:xml:ns:xmpp-tls\">");
......
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