]> git.eshelyaron.com Git - emacs.git/commit
Refactor mm-decode and friends to be explicit about when errors happen
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 30 Sep 2019 06:41:43 +0000 (08:41 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 30 Sep 2019 06:41:43 +0000 (08:41 +0200)
commit5d33839c3fc40308cd29dbd0991888ead81fbfa7
tree47abda629562e94d15820ee3b74a7e3b4bead5c4
parent542b78eddeba3f020349c2d02ba2d21e8613d99d
Refactor mm-decode and friends to be explicit about when errors happen

* lisp/gnus/mm-decode.el (mm-sec-status):
(mm-sec-error): New functions to handle decryption problems more
explicitly (bug#18393).
(mm-possibly-verify-or-decrypt): Use the `sec-error' data to
determine whether the operation failed or not.

* lisp/gnus/mml-smime.el: Ditto.

* lisp/gnus/mml2015.el: Used throughout.
lisp/gnus/mm-decode.el
lisp/gnus/mm-uu.el
lisp/gnus/mml-smime.el
lisp/gnus/mml2015.el