mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 11:01:23 +01:00
Fixed logging
This commit is contained in:
@@ -113,13 +113,13 @@ public class MailService implements AutoCloseable {
|
||||
if (matches(server, name))
|
||||
trusted = true;
|
||||
|
||||
if (getFingerPrint(certificate).equals(trustedFingerprint))
|
||||
trusted = true;
|
||||
|
||||
if (!trusted)
|
||||
Log.e("Certificate mismatch" +
|
||||
" server=" + server + " names=" + TextUtils.join(",", names));
|
||||
|
||||
if (getFingerPrint(certificate).equals(trustedFingerprint))
|
||||
trusted = true;
|
||||
|
||||
Log.i("Is trusted? server=" + server + " trusted=" + trusted);
|
||||
return trusted;
|
||||
} catch (Throwable ex) {
|
||||
|
||||
Reference in New Issue
Block a user