Enable all supported protocols including TLSv1.1 and 1.2

Sam Whited created

Change summary

src/eu/siacs/conversations/xmpp/XmppConnection.java | 1 +
1 file changed, 1 insertion(+)

Detailed changes

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(),