mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-25 17:27:00 +00:00
Oops
This commit is contained in:
parent
0dd04d74a7
commit
f123ea6704
1 changed files with 3 additions and 3 deletions
|
@ -109,10 +109,10 @@ public class MailService implements AutoCloseable {
|
|||
boolean trusted = false;
|
||||
|
||||
String name = getDnsName(certificate);
|
||||
if (name != null && matches(server, name)) {
|
||||
Log.e("Certificate mismatch server=" + server + " name=" + name);
|
||||
if (name != null && matches(server, name))
|
||||
trusted = true;
|
||||
}
|
||||
else
|
||||
Log.e("Certificate mismatch server=" + server + " name=" + name);
|
||||
|
||||
if (getFingerPrint(certificate).equals(trustedFingerprint))
|
||||
trusted = true;
|
||||
|
|
Loading…
Reference in a new issue