* epg.el (epg-read-output): Don't convert line endings of the
authorueno <ueno>
Sun, 30 Apr 2006 04:41:06 +0000 (04:41 +0000)
committerueno <ueno>
Sun, 30 Apr 2006 04:41:06 +0000 (04:41 +0000)
output file.

ChangeLog
epg.el

index 6903a17..b13d7b1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-04-30  Daiki Ueno  <ueno@unixuser.org>
+
+       * epg.el (epg-read-output): Don't convert line endings of the
+       output file.
+
 2006-04-29  Daiki Ueno  <ueno@unixuser.org>
 
        * epg.el (epg-make-signature): Removed user-id; added
diff --git a/epg.el b/epg.el
index 8615667..02c1ff0 100644 (file)
--- a/epg.el
+++ b/epg.el
@@ -696,9 +696,7 @@ This function is for internal use only."
     (if (fboundp 'set-buffer-multibyte)
        (set-buffer-multibyte nil))
     (if (file-exists-p (epg-context-output-file context))
-       (let ((coding-system-for-read (if (epg-context-textmode context)
-                                         'raw-text
-                                       'binary)))
+       (let ((coding-system-for-read 'binary))
          (insert-file-contents (epg-context-output-file context))
          (buffer-string)))))