mirror of https://github.com/M66B/FairEmail.git
Oops
This commit is contained in:
parent
0dd04d74a7
commit
f123ea6704
|
@ -109,10 +109,10 @@ public class MailService implements AutoCloseable {
|
||||||
boolean trusted = false;
|
boolean trusted = false;
|
||||||
|
|
||||||
String name = getDnsName(certificate);
|
String name = getDnsName(certificate);
|
||||||
if (name != null && matches(server, name)) {
|
if (name != null && matches(server, name))
|
||||||
Log.e("Certificate mismatch server=" + server + " name=" + name);
|
|
||||||
trusted = true;
|
trusted = true;
|
||||||
}
|
else
|
||||||
|
Log.e("Certificate mismatch server=" + server + " name=" + name);
|
||||||
|
|
||||||
if (getFingerPrint(certificate).equals(trustedFingerprint))
|
if (getFingerPrint(certificate).equals(trustedFingerprint))
|
||||||
trusted = true;
|
trusted = true;
|
||||||
|
|
Loading…
Reference in New Issue