diff options
author | Sam Whited <sam@samwhited.com> | 2014-10-16 10:02:47 -0400 |
---|---|---|
committer | Sam Whited <sam@samwhited.com> | 2014-10-16 10:02:47 -0400 |
commit | c4b9d428616ba3efcea00a88158f12922d876e42 (patch) | |
tree | 3d118c08b7c45ea5aefef558ae7c2448bc6f1721 /src/eu/siacs | |
parent | 88d88ffb7b704e2ae5a2eaf1af6e8a21fb0fb574 (diff) |
Enable all supported protocols including TLSv1.1 and 1.2
Diffstat (limited to '')
-rw-r--r-- | src/eu/siacs/conversations/xmpp/XmppConnection.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/xmpp/XmppConnection.java b/src/eu/siacs/conversations/xmpp/XmppConnection.java index 43614f50..0162af9e 100644 --- a/src/eu/siacs/conversations/xmpp/XmppConnection.java +++ b/src/eu/siacs/conversations/xmpp/XmppConnection.java @@ -519,6 +519,7 @@ public class XmppConnection implements Runnable { SSLSocket sslSocket = (SSLSocket) factory.createSocket(socket, socket.getInetAddress().getHostAddress(), socket.getPort(), true); + sslSocket.setEnabledProtocols(sslSocket.getSupportedProtocols()); if (verifier != null && !verifier.verify(account.getServer(), |