From c4e0ccd151a29f87bd674a5987f731a0da491692 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 26 Sep 2019 19:51:23 +0200 Subject: [PATCH] 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 42bf5f8081c..d9c14120c2f 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. -- 2.39.2