From ac1507a8b6af8755b1bbc88cb0e8a760baaec028 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 23 Sep 2019 22:11:33 +0200 Subject: [PATCH] mml-smime-openssl-sign): Use all the keys * lisp/gnus/mml-smime.el (mml-smime-openssl-sign): Use all the keys in `smime-keys' for this identifier (bug#17780). --- lisp/gnus/mml-smime.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/gnus/mml-smime.el b/lisp/gnus/mml-smime.el index 3bc44df2c8a..b2e9b783522 100644 --- a/lisp/gnus/mml-smime.el +++ b/lisp/gnus/mml-smime.el @@ -133,7 +133,7 @@ Whether the passphrase is cached at all is controlled by (when (null smime-keys) (customize-variable 'smime-keys) (error "No S/MIME keys configured, use customize to add your key")) - (smime-sign-buffer (cdr (assq 'keyfile cont))) + (smime-sign-buffer (cdar smime-keys)) (goto-char (point-min)) (while (search-forward "\r\n" nil t) (replace-match "\n" t t)) -- 2.39.2