mirror of https://github.com/M66B/FairEmail.git
Small change
This commit is contained in:
parent
cf31f95318
commit
87802d8cf6
|
@ -21,7 +21,7 @@ public class SSLHelper {
|
|||
boolean secure, boolean cert_strict,
|
||||
String trustedFingerprint,
|
||||
ITrust intf) {
|
||||
return rtm;
|
||||
return null;
|
||||
}
|
||||
|
||||
static boolean customTrustManager() {
|
||||
|
|
|
@ -1099,7 +1099,7 @@ public class EmailService implements AutoCloseable {
|
|||
} catch (Throwable ex) {
|
||||
Log.e(ex);
|
||||
}
|
||||
sslContext.init(km, new TrustManager[]{tm}, null);
|
||||
sslContext.init(km, new TrustManager[]{tm == null ? rtm : tm}, null);
|
||||
}
|
||||
|
||||
factory = sslContext.getSocketFactory();
|
||||
|
|
Loading…
Reference in New Issue