aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Beich2019-09-23 22:11:33 +0200
committerLars Ingebrigtsen2019-09-23 22:11:33 +0200
commitac1507a8b6af8755b1bbc88cb0e8a760baaec028 (patch)
treeaa8e39bf6b4e97a3880cfba9d3b31813f18e3783
parent0faf3496aba6a664b353fa48ab214ccdb4f62ef4 (diff)
downloademacs-ac1507a8b6af8755b1bbc88cb0e8a760baaec028.tar.gz
emacs-ac1507a8b6af8755b1bbc88cb0e8a760baaec028.zip
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).
-rw-r--r--lisp/gnus/mml-smime.el2
1 files changed, 1 insertions, 1 deletions
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
133 (when (null smime-keys) 133 (when (null smime-keys)
134 (customize-variable 'smime-keys) 134 (customize-variable 'smime-keys)
135 (error "No S/MIME keys configured, use customize to add your key")) 135 (error "No S/MIME keys configured, use customize to add your key"))
136 (smime-sign-buffer (cdr (assq 'keyfile cont))) 136 (smime-sign-buffer (cdar smime-keys))
137 (goto-char (point-min)) 137 (goto-char (point-min))
138 (while (search-forward "\r\n" nil t) 138 (while (search-forward "\r\n" nil t)
139 (replace-match "\n" t t)) 139 (replace-match "\n" t t))