From 51879fdbfd158fcd4d66c66c8d7b25f1b5991123 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi
Date: Sat, 13 Nov 2021 07:18:06 +0200
Subject: [PATCH 1/1] DocumentWidget: Fixed appearance of Trust button
src/ui/documentwidget.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 448398b1..49ac9fb5 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -2843,9 +2843,9 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd)
const char *unchecked = red_ColorEscape "\u2610";
const char *checked = green_ColorEscape "\u2611";
const iBool haveFingerprint = (d->certFlags & haveFingerprint_GmCertFlag) != 0;
const iBool canTrust =
(d->certFlags == (available_GmCertFlag | haveFingerprint_GmCertFlag |
timeVerified_GmCertFlag /* | domainVerified_GmCertFlag*/));
const int requiredForTrust = (available_GmCertFlag | haveFingerprint_GmCertFlag |
timeVerified_GmCertFlag);
const iBool canTrust = ((d->certFlags & requiredForTrust) == requiredForTrust);
const iRecentUrl *recent = findUrl_History(d->mod.history, d->mod.url);
const iString *meta = &d->sourceMime;
if (recent && recent->cachedResponse) {
--
2.25.1
text/plain
This content has been proxied by September (ba2dc).