From 42141da5b0885b199636524c1e57f08ee1723aea Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 14 Apr 2018 15:12:48 +0200 Subject: [PATCH] Revert "Give better errors in signing failures in Gnus" This reverts commit ef2059e877d104bfe5abd24df05bb09c7295e4fa. Apparently this test triggered both when signing was successful and unsuccessful (bug#26298). --- lisp/gnus/mml1991.el | 2 -- lisp/gnus/mml2015.el | 2 -- 2 files changed, 4 deletions(-) diff --git a/lisp/gnus/mml1991.el b/lisp/gnus/mml1991.el index b2056b2fd0d..93b1b5049a8 100644 --- a/lisp/gnus/mml1991.el +++ b/lisp/gnus/mml1991.el @@ -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 diff --git a/lisp/gnus/mml2015.el b/lisp/gnus/mml2015.el index 403b5e1af6a..5980ddb38fe 100644 --- a/lisp/gnus/mml2015.el +++ b/lisp/gnus/mml2015.el @@ -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)) -- 2.39.2