From: ueno Date: Tue, 4 Jul 2006 09:13:04 +0000 (+0000) Subject: * mime-edit.el (mime-edit-sign-smime): Use X-Git-Tag: emiko-1_14_1-epg-0_0_4 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2ef23a807ec52ff98388da4734edd82ea7e1d66;p=elisp%2Fsemi.git * mime-edit.el (mime-edit-sign-smime): Use epg-new-signature-digest-algorithm. --- 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;