|
|
|
@ -493,6 +493,8 @@ public class EmailService implements AutoCloseable {
|
|
|
|
|
|
|
|
|
|
|
|
boolean bc = prefs.getBoolean("bouncy_castle", false);
|
|
|
|
boolean bc = prefs.getBoolean("bouncy_castle", false);
|
|
|
|
boolean fips = prefs.getBoolean("bc_fips", false);
|
|
|
|
boolean fips = prefs.getBoolean("bc_fips", false);
|
|
|
|
|
|
|
|
if (host.endsWith(".gmail.com"))
|
|
|
|
|
|
|
|
bc = false;
|
|
|
|
factory = new SSLSocketFactoryService(
|
|
|
|
factory = new SSLSocketFactoryService(
|
|
|
|
context, host, port, insecure, dane,
|
|
|
|
context, host, port, insecure, dane,
|
|
|
|
ssl_harden, strict, cert_strict, cert_transparency, check_names,
|
|
|
|
ssl_harden, strict, cert_strict, cert_transparency, check_names,
|
|
|
|
|