1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 03:32:16 -05:00
This commit is contained in:
Jesse Vincent 2008-12-04 22:03:53 +00:00
parent 33d8d3bc24
commit c21097af65

View File

@ -86,7 +86,7 @@ public final class TrustManagerFactory {
try {
defaultTrustManager.checkServerTrusted(chain, authType);
} catch (CertificateException e) {
localTrustManager.checkServerTrusted(chain, authType);
localTrustManager.checkServerTrusted(new X509Certificate[] {chain[0]}, authType);
}
if (!DomainNameChecker.match(chain[0], mHost)) {
try {