Small improvement

pull/210/head
M66B 2 years ago
parent 4c4676044e
commit 2432e27e8a

@ -432,7 +432,7 @@ public class EmailService implements AutoCloseable {
} }
boolean strict = ssl_harden_strict; boolean strict = ssl_harden_strict;
if (provider != null) if (strict && provider != null)
try { try {
EmailProvider p = EmailProvider.getProvider(context, provider); EmailProvider p = EmailProvider.getProvider(context, provider);
if ("1.2".equals(p.maxtls)) { if ("1.2".equals(p.maxtls)) {

Loading…
Cancel
Save