* mm-decode.el (mm-possibly-verify-or-decrypt): Replace PARTS with the
authorDaiki Ueno <ueno@unixuser.org>
Mon, 8 Oct 2007 02:36:34 +0000 (02:36 +0000)
committerDaiki Ueno <ueno@unixuser.org>
Mon, 8 Oct 2007 02:36:34 +0000 (02:36 +0000)
ones returned from the verify-function.

* mm-uu.el (mm-uu-pgp-signed-extract-1): Call
mml2015-extract-cleartext-signature if extraction failed.

lisp/ChangeLog
lisp/mm-decode.el
lisp/mm-uu.el

index 234249d..7bf9d75 100644 (file)
@@ -1,3 +1,11 @@
+2007-10-08   Daiki Ueno  <ueno@unixuser.org>
+
+       * mm-decode.el (mm-possibly-verify-or-decrypt): Replace PARTS with the
+       ones returned from the verify-function.
+
+       * mm-uu.el (mm-uu-pgp-signed-extract-1): Call
+       mml2015-extract-cleartext-signature if extraction failed.
+
 2007-10-07  Daiki Ueno  <ueno@unixuser.org>
 
        * mm-uu.el (mm-uu-pgp-signed-extract-1): Delete the first line
index 09814da..14e5c25 100644 (file)
@@ -1536,7 +1536,7 @@ If RECURSIVE, search recursively."
                           (format "protocol=%s" protocol))))))
        (save-excursion
          (if func
-             (funcall func parts ctl)
+             (setq parts (funcall func parts ctl))
            (mm-set-handle-multipart-parameter
             mm-security-handle 'gnus-details
             (format "Unknown sign protocol (%s)" protocol))))))
index e92d75a..c7f6b16 100644 (file)
@@ -483,9 +483,7 @@ apply the face `mm-uu-extract'."
          (mm-set-handle-multipart-parameter
           mm-security-handle 'gnus-details
           (format "Clear verification not supported by `%s'.\n" mml2015-use)))
-       (goto-char (point-min))
-       (forward-line 1)
-       (delete-region (point-min) (point)))
+       (mml2015-extract-cleartext-signature))
       (list (mm-make-handle buf mm-uu-text-plain-type)))))
 
 (defun mm-uu-pgp-signed-extract ()