mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-09-01 06:35:09 +00:00
Compare commits
1 Commits
work/1-26-
...
work/suppo
Author | SHA1 | Date | |
---|---|---|---|
|
cadb9892e4 |
@@ -209,7 +209,7 @@ public class SslHelper {
|
||||
trustManagerFactory.init(keyStore);
|
||||
|
||||
// Setup custom trust manager if device not trusted
|
||||
SSLContext tlsContext = SSLContext.getInstance("TLS");
|
||||
SSLContext tlsContext = SSLContext.getInstance("TLSv1.3"); // Support TLS up to 1.3
|
||||
if (isDeviceTrusted) {
|
||||
tlsContext.init(keyManagerFactory.getKeyManagers(), trustManagerFactory.getTrustManagers(), RandomHelper.secureRandom);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user