diff options
-rw-r--r-- | src/ui/documentwidget.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 49ac9fb5..f2553632 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -2845,7 +2845,8 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd) | |||
2845 | const iBool haveFingerprint = (d->certFlags & haveFingerprint_GmCertFlag) != 0; | 2845 | const iBool haveFingerprint = (d->certFlags & haveFingerprint_GmCertFlag) != 0; |
2846 | const int requiredForTrust = (available_GmCertFlag | haveFingerprint_GmCertFlag | | 2846 | const int requiredForTrust = (available_GmCertFlag | haveFingerprint_GmCertFlag | |
2847 | timeVerified_GmCertFlag); | 2847 | timeVerified_GmCertFlag); |
2848 | const iBool canTrust = ((d->certFlags & requiredForTrust) == requiredForTrust); | 2848 | const iBool canTrust = ~d->certFlags & trusted_GmCertFlag && |
2849 | ((d->certFlags & requiredForTrust) == requiredForTrust); | ||
2849 | const iRecentUrl *recent = findUrl_History(d->mod.history, d->mod.url); | 2850 | const iRecentUrl *recent = findUrl_History(d->mod.history, d->mod.url); |
2850 | const iString *meta = &d->sourceMime; | 2851 | const iString *meta = &d->sourceMime; |
2851 | if (recent && recent->cachedResponse) { | 2852 | if (recent && recent->cachedResponse) { |