Enable all supported protocols including TLSv1.1 and 1.2
This commit is contained in:
parent
88d88ffb7b
commit
c4b9d42861
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue