Fix a small typo

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2017-12-13 10:39:35 +01:00
parent f330e0a40d
commit 6e7eafc2f8

View file

@ -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) {