Synch with Oort Gnus.
authoryamaoka <yamaoka>
Fri, 12 Jan 2001 13:40:21 +0000 (13:40 +0000)
committeryamaoka <yamaoka>
Fri, 12 Jan 2001 13:40:21 +0000 (13:40 +0000)
lisp/ChangeLog
lisp/mml2015.el

index 9831cdd..caf3c20 100644 (file)
@@ -1,3 +1,8 @@
+2001-01-11 23:00:00  ShengHuo ZHU  <zsh@cs.rochester.edu>
+
+       * mml2015.el (mml2015-gpg-encrypt): Remove CR.
+       (mml2015-gpg-sign): Ditto.
+
 2001-01-10 14:00:00  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
        * gnus.el: Sync with EMACS_PRETEST_21_0_95.
index 126f647..0b49560 100644 (file)
        (unless (> (point-max) (point-min))
          (pop-to-buffer mml2015-result-buffer)
          (error "Sign error.")))
+      (goto-char (point-min))
+      (while (re-search-forward "\r+$" nil t)
+       (replace-match "" t t))
       (set-buffer text)
       (goto-char (point-min))
       (insert (format "Content-Type: multipart/signed; boundary=\"%s\";\n"
          (unless (> (point-max) (point-min))
            (pop-to-buffer mml2015-result-buffer)
            (error "Encrypt error.")))
+       (goto-char (point-min))
+       (while (re-search-forward "\r+$" nil t)
+         (replace-match "" t t))
        (set-buffer text)
        (delete-region (point-min) (point-max))
        (insert (format "Content-Type: multipart/encrypted; boundary=\"%s\";\n"