aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Whited <sam@samwhited.com>2014-10-16 10:02:47 -0400
committerSam Whited <sam@samwhited.com>2014-10-16 10:02:47 -0400
commitc4b9d428616ba3efcea00a88158f12922d876e42 (patch)
tree3d118c08b7c45ea5aefef558ae7c2448bc6f1721
parent88d88ffb7b704e2ae5a2eaf1af6e8a21fb0fb574 (diff)
Enable all supported protocols including TLSv1.1 and 1.2
-rw-r--r--src/eu/siacs/conversations/xmpp/XmppConnection.java1
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(),