epg-new-signature-digest-algorithm.
+2006-07-04 Daiki Ueno <ueno@unixuser.org>
+
+ * mime-edit.el (mime-edit-sign-smime): Use
+ epg-new-signature-digest-algorithm.
+
2006-05-28 Daiki Ueno <ueno@unixuser.org>
* mime-pgp.el (mime-add-application/pgp-keys): Don't use a temp buffer.
(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;