diff options
-rw-r--r-- | src/ui/documentwidget.c | 6 |
1 files 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) | |||
2843 | const char *unchecked = red_ColorEscape "\u2610"; | 2843 | const char *unchecked = red_ColorEscape "\u2610"; |
2844 | const char *checked = green_ColorEscape "\u2611"; | 2844 | const char *checked = green_ColorEscape "\u2611"; |
2845 | const iBool haveFingerprint = (d->certFlags & haveFingerprint_GmCertFlag) != 0; | 2845 | const iBool haveFingerprint = (d->certFlags & haveFingerprint_GmCertFlag) != 0; |
2846 | const iBool canTrust = | 2846 | const int requiredForTrust = (available_GmCertFlag | haveFingerprint_GmCertFlag | |
2847 | (d->certFlags == (available_GmCertFlag | haveFingerprint_GmCertFlag | | 2847 | timeVerified_GmCertFlag); |
2848 | timeVerified_GmCertFlag /* | domainVerified_GmCertFlag*/)); | 2848 | const iBool canTrust = ((d->certFlags & requiredForTrust) == requiredForTrust); |
2849 | const iRecentUrl *recent = findUrl_History(d->mod.history, d->mod.url); | 2849 | const iRecentUrl *recent = findUrl_History(d->mod.history, d->mod.url); |
2850 | const iString *meta = &d->sourceMime; | 2850 | const iString *meta = &d->sourceMime; |
2851 | if (recent && recent->cachedResponse) { | 2851 | if (recent && recent->cachedResponse) { |