Fixed logging

pull/169/head
M66B 5 years ago
parent d9a325d661
commit ff7d6d05b1

@ -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) {

Loading…
Cancel
Save