mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-24 22:15:41 +03:00
Fix a small typo
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
f330e0a40d
commit
6e7eafc2f8
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ public class MagicTrustManager implements X509TrustManager {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
X509Certificate[] certificates = (X509Certificate[]) sslSession.getPeerCertificates();
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
} catch (SSLPeerUnverifiedException e) {
|
} catch (SSLPeerUnverifiedException e) {
|
||||||
|
|
Loading…
Reference in a new issue