summaryrefslogtreecommitdiff
path: root/lisp/epg.el
diff options
context:
space:
mode:
authorTeemu Likonen <tlikonen@iki.fi>2017-06-25 20:50:54 +0300
committerTeemu Likonen <tlikonen@iki.fi>2017-06-26 12:27:10 +0300
commit1771d9b8082cf967e3f8b6a436d8766560be9e8d (patch)
tree52a02335e77e7209f64398be2b401b053dd50fcc /lisp/epg.el
parent53777093c1d84fd9cbea1cd47df02ac6d2d6049b (diff)
downloademacs-1771d9b8082cf967e3f8b6a436d8766560be9e8d.tar.gz
emacs-1771d9b8082cf967e3f8b6a436d8766560be9e8d.tar.bz2
emacs-1771d9b8082cf967e3f8b6a436d8766560be9e8d.zip
Fix bug in handling GnuPG's TRUST_MARGINAL status
* lisp/epg.el (epg--status-TRUST_MARGINAL): Change symbol `marginal' to `good'.
Diffstat (limited to 'lisp/epg.el')
-rw-r--r--lisp/epg.el2
1 files changed, 1 insertions, 1 deletions
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)