* mime-edit.el (mime-edit-sign-smime): Use emiko-1_14_1-epg-0_0_4 emiko-1_14_1-epg-0_0_7
authorueno <ueno>
Tue, 4 Jul 2006 09:13:04 +0000 (09:13 +0000)
committerueno <ueno>
Tue, 4 Jul 2006 09:13:04 +0000 (09:13 +0000)
epg-new-signature-digest-algorithm.

ChangeLog
mime-edit.el

index 3ce6039..3fc8ec3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
index 70a1750..15bc2c7 100644 (file)
@@ -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;