From: Teemu Likonen Date: Sun, 25 Jun 2017 17:50:54 +0000 (+0300) Subject: Fix bug in handling GnuPG's TRUST_MARGINAL status X-Git-Tag: emacs-26.0.90~521^2~11^2~37 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1771d9b8082cf967e3f8b6a436d8766560be9e8d;p=emacs.git Fix bug in handling GnuPG's TRUST_MARGINAL status * lisp/epg.el (epg--status-TRUST_MARGINAL): Change symbol `marginal' to `good'. --- diff --git a/lisp/epg.el b/lisp/epg.el index 587271b0003..1e24b8d1169 100644 --- a/lisp/epg.el +++ b/lisp/epg.el @@ -1047,7 +1047,7 @@ callback data (if any)." (defun epg--status-TRUST_MARGINAL (context _string) (let ((signature (car (epg-context-result-for context 'verify)))) (if (and signature - (eq (epg-signature-status signature) 'marginal)) + (eq (epg-signature-status signature) 'good)) (setf (epg-signature-validity signature) 'marginal)))) (defun epg--status-TRUST_FULLY (context _string)