Skip IP fallback if harden enabled

This commit is contained in:
M66B 2022-01-30 13:30:29 +01:00
parent f939072fca
commit 157f5a5c19
1 changed files with 19 additions and 18 deletions

View File

@ -1019,6 +1019,7 @@ public class EmailService implements AutoCloseable {
return;
// Fallback: check server/certificate IP address
if (!harden)
try {
InetAddress ip = InetAddress.getByName(server);
for (String name : names) {