Don't use the 4th arg of mm-replace-in-string for compatibility issues.
authorDaiki Ueno <ueno@unixuser.org>
Sat, 27 Aug 2011 22:57:29 +0000 (07:57 +0900)
committerDaiki Ueno <ueno@unixuser.org>
Sat, 27 Aug 2011 22:57:29 +0000 (07:57 +0900)
* mml-smime.el (mml-smime-epg-verify): Don't use the 4th arg of
mm-replace-in-string.
* mml2015.el (mml2015-epg-verify): Ditto.

lisp/ChangeLog
lisp/mml-smime.el
lisp/mml2015.el

index 2e76c64..acfd548 100644 (file)
@@ -1,3 +1,9 @@
+2011-08-27  Daiki Ueno  <ueno@unixuser.org>
+
+       * mml-smime.el (mml-smime-epg-verify): Don't use the 4th arg of
+       mm-replace-in-string for compatibility issues.
+       * mml2015.el (mml2015-epg-verify): Ditto.
+
 2011-08-26  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * mailcap.el (mailcap-mime-data): Regexp-quote MIME subtype.
index 43c9160..7a7b3f6 100644 (file)
@@ -531,7 +531,7 @@ Content-Disposition: attachment; filename=smime.p7m
        (mm-set-handle-multipart-parameter
         mm-security-handle 'gnus-info "Corrupted")
        (throw 'error handle))
-      (setq part (mm-replace-in-string part "\n" "\r\n" t)
+      (setq part (mm-replace-in-string part "\n" "\r\n")
            context (epg-make-context 'CMS))
       (condition-case error
          (setq plain (epg-verify-string context (mm-get-part signature) part))
index 7d8a411..b9310be 100644 (file)
@@ -923,7 +923,7 @@ If set, it overrides the setting of `mml2015-sign-with-sender'."
        (mm-set-handle-multipart-parameter
         mm-security-handle 'gnus-info "Corrupted")
        (throw 'error handle))
-      (setq part (mm-replace-in-string part "\n" "\r\n" t)
+      (setq part (mm-replace-in-string part "\n" "\r\n")
            signature (mm-get-part signature)
            context (epg-make-context))
       (condition-case error