]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix reversed check in mm-possibly-verify-or-decrypt
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 27 Sep 2019 14:29:51 +0000 (16:29 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 27 Sep 2019 14:30:20 +0000 (16:30 +0200)
* lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): Fix
reverse check thinko that made unverified singed messages not
display correctly.

lisp/gnus/mm-decode.el

index d9c14120c2f0741648ff51076f000400892c8f92..3de7a0464bb0ad26dea2e1048ef7942981b8b4f1 100644 (file)
@@ -1745,7 +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")
+             (not (equal subtype "encrypted"))
              (member "OK" (split-string info "\n")))
          parts
        ;; We had an error during decryption.  Report what it is.