mirror of
https://github.com/nextcloud/talk-android
synced 2025-01-19 13:41:26 +00:00
Remove useless check
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
71ca7914b4
commit
79ac925b1d
@ -177,7 +177,7 @@ public class MagicTrustManager implements X509TrustManager {
|
||||
|
||||
try {
|
||||
X509Certificate[] certificates = (X509Certificate[]) sslSession.getPeerCertificates();
|
||||
if (certificates.length > 0 && certificates[0] != null && isCertInTrustStore(certificates, s)) {
|
||||
if (certificates.length > 0 && isCertInTrustStore(certificates, s)) {
|
||||
return true;
|
||||
}
|
||||
} catch (SSLPeerUnverifiedException e) {
|
||||
|
Loading…
Reference in New Issue
Block a user