diff --git a/app/src/main/java/com/nextcloud/talk/utils/ssl/MagicTrustManager.java b/app/src/main/java/com/nextcloud/talk/utils/ssl/MagicTrustManager.java index 99052985f..7257b182e 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/ssl/MagicTrustManager.java +++ b/app/src/main/java/com/nextcloud/talk/utils/ssl/MagicTrustManager.java @@ -176,7 +176,7 @@ public class MagicTrustManager implements X509TrustManager { try { X509Certificate[] certificates = (X509Certificate[]) sslSession.getPeerCertificates(); - if (certificates.length > 0 && certificates[0] != null && isCertInMagicTrustStore(certificates[0])) { + if (certificates.length > 0 && certificates[0] != null && isCertInTrustStore(certificates[0])) { return true; } } catch (SSLPeerUnverifiedException e) {