SSL: allow all ciphers, fix #71

usb
Georg Lukas 2015-08-27 22:20:52 +02:00
rodzic 0257620f25
commit 3f82e4a31e
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -106,6 +106,8 @@ class TcpUploader(service : AprsService, prefs : PrefsWrapper) extends AprsBacke
service.getString(R.string.post_connecting, host, port.asInstanceOf[AnyRef]))
val socket = sc.getSocketFactory().createSocket(host, port).asInstanceOf[SSLSocket]
// enable all available cipher suites, including NULL; fixes #71
socket.setEnabledCipherSuites(sc.getSocketFactory().getDefaultCipherSuites())
socket
} catch {
case e : java.io.FileNotFoundException =>