Refactoring

This commit is contained in:
M66B
2021-08-14 10:22:38 +02:00
parent 823443fe69
commit c94f2ceaca
4 changed files with 31 additions and 32 deletions

View File

@@ -870,7 +870,7 @@ public class EmailProvider implements Parcelable {
List<String> names = EntityCertificate.getDnsNames((X509Certificate) cert);
EntityLog.log(context, "Certificate " + address +
" " + TextUtils.join(",", names));
if (ConnectionHelper.matches(host, names)) {
if (EntityCertificate.matches(host, names)) {
EntityLog.log(context, "Trusted " + address);
return true;
}