[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master c4e0ccd: mm-possibly-verify-or-decrypt should only
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master c4e0ccd: mm-possibly-verify-or-decrypt should only issue errors when decrypting |
Date: |
Thu, 26 Sep 2019 13:51:33 -0400 (EDT) |
branch: master
commit c4e0ccd151a29f87bd674a5987f731a0da491692
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
mm-possibly-verify-or-decrypt should only issue errors when decrypting
* lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): Only do
the warning about failed decryption when we're handing encrypted
parts, not when doing verification.
---
lisp/gnus/mm-decode.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el
index 42bf5f8..d9c1412 100644
--- a/lisp/gnus/mm-decode.el
+++ b/lisp/gnus/mm-decode.el
@@ -1745,6 +1745,7 @@ If RECURSIVE, search recursively."
(let ((info (get-text-property 0 'gnus-info (car mm-security-handle))))
(if (or (not info)
(equal info "")
+ (equal subtype "encrypted")
(member "OK" (split-string info "\n")))
parts
;; We had an error during decryption. Report what it is.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master c4e0ccd: mm-possibly-verify-or-decrypt should only issue errors when decrypting,
Lars Ingebrigtsen <=