From a2ef23a807ec52ff98388da4734edd82ea7e1d66 Mon Sep 17 00:00:00 2001 From: ueno Date: Tue, 4 Jul 2006 09:13:04 +0000 Subject: [PATCH] * mime-edit.el (mime-edit-sign-smime): Use epg-new-signature-digest-algorithm. --- ChangeLog | 5 +++++ mime-edit.el | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3ce6039..3fc8ec3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-07-04 Daiki Ueno + + * mime-edit.el (mime-edit-sign-smime): Use + epg-new-signature-digest-algorithm. + 2006-05-28 Daiki Ueno * mime-pgp.el (mime-add-application/pgp-keys): Don't use a temp buffer. diff --git a/mime-edit.el b/mime-edit.el index 70a1750..15bc2c7 100644 --- a/mime-edit.el +++ b/mime-edit.el @@ -1913,8 +1913,8 @@ If no one is selected, default secret key is used. " (buffer-substring (point-min) (point-max))) 'detached)) (error (signal 'mime-edit-error (cdr error)))) - (setq micalg (cdr (assq 'digest-algorithm - (car (epg-context-result-for context 'sign))))) + (setq micalg (epg-new-signature-digest-algorithm + (car (epg-context-result-for context 'sign)))) (goto-char beg) (insert (format "--[[multipart/signed; boundary=\"%s\"%s; -- 1.7.10.4