kopia lustrzana https://github.com/ge0rg/aprsdroid
SSL: allow all ciphers, fix #71
rodzic
0257620f25
commit
3f82e4a31e
|
@ -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 =>
|
||||
|
|
Ładowanie…
Reference in New Issue