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,
|
boolean secure, boolean cert_strict,
|
||||||
String trustedFingerprint,
|
String trustedFingerprint,
|
||||||
ITrust intf) {
|
ITrust intf) {
|
||||||
return rtm;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
static boolean customTrustManager() {
|
static boolean customTrustManager() {
|
||||||
|
|
|
@ -1099,7 +1099,7 @@ public class EmailService implements AutoCloseable {
|
||||||
} catch (Throwable ex) {
|
} catch (Throwable ex) {
|
||||||
Log.e(ex);
|
Log.e(ex);
|
||||||
}
|
}
|
||||||
sslContext.init(km, new TrustManager[]{tm}, null);
|
sslContext.init(km, new TrustManager[]{tm == null ? rtm : tm}, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
factory = sslContext.getSocketFactory();
|
factory = sslContext.getSocketFactory();
|
||||||
|
|
Loading…
Reference in New Issue