1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

Revert "Give better errors in signing failures in Gnus"

This reverts commit ef2059e877.

Apparently this test triggered both when signing was successful
and unsuccessful (bug#26298).
This commit is contained in:
Lars Ingebrigtsen 2018-04-14 15:12:48 +02:00
parent 0a299bd9a0
commit 42141da5b0
2 changed files with 0 additions and 4 deletions

View File

@ -275,8 +275,6 @@ Whether the passphrase is cached at all is controlled by
(mm-decode-content-transfer-encoding cte)))
(let* ((pair (mml-secure-epg-sign 'OpenPGP 'clear))
(signature (car pair)))
(unless (stringp signature)
(error "Signature failed"))
(delete-region (point-min) (point-max))
(insert
(with-temp-buffer

View File

@ -958,8 +958,6 @@ If set, it overrides the setting of `mml2015-sign-with-sender'."
(let* ((pair (mml-secure-epg-sign 'OpenPGP t))
(signature (car pair))
(micalg (cdr pair)))
(unless (stringp signature)
(error "Signature failed"))
(goto-char (point-min))
(insert (format "Content-Type: multipart/signed; boundary=\"%s\";\n"
boundary))