mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Refactoring
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user