* mime-pgp.el (mime-verify-application/pgp-signature): Don't
authorueno <ueno>
Tue, 9 Nov 1999 03:26:10 +0000 (03:26 +0000)
committerueno <ueno>
Tue, 9 Nov 1999 03:26:10 +0000 (03:26 +0000)
convert line break code.

* pgg-gpg.el (verify-region): Convert line break code to CRLF.

mime-pgp.el
pgg-gpg.el

index 6d055d7..309c35a 100644 (file)
     (unwind-protect
        (with-temp-buffer
          (mime-insert-entity orig-entity)
-         (goto-char (point-min))
-         (while (progn (end-of-line) (not (eobp)))
-           (insert "\r")
-           (forward-line 1))
          (setq status (pgg-verify-region (point-min)(point-max) 
                                          sig-file 'fetch))
          (save-excursion 
index 60493bd..8384eeb 100644 (file)
   (let ((args '("--batch" "--verify")))
     (when (stringp signature)
       (setq args (append args (list signature))))
-    (pgg-gpg-process-region start end nil pgg-gpg-program args)
+    (pgg-as-lbt start end 'CRLF
+      (pgg-gpg-process-region start end nil pgg-gpg-program args)
+      )
     (save-excursion
       (set-buffer pgg-errors-buffer)
       (goto-char (point-min))