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

@@ -849,7 +849,7 @@ public class EmailService implements AutoCloseable {
// Check host name
List<String> names = EntityCertificate.getDnsNames(certificate);
if (ConnectionHelper.matches(server, names))
if (EntityCertificate.matches(server, names))
return;
String error = server + " not in certificate: " + TextUtils.join(",", names);