epg-new-signature object.
+2006-05-12 Daiki Ueno <ueno@unixuser.org>
+
+ * mime-edit.el (mime-edit-sign-pgp-mime): Extract micalg from the
+ epg-new-signature object.
+
2006-05-04 Daiki Ueno <ueno@unixuser.org>
* mime-pgp.el (mime-view-application/pgp): Allow to verify
(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;