* epg.el (epg-start-verify): Fixed a clearsign verification bug.
authorueno <ueno>
Thu, 12 Oct 2006 05:05:48 +0000 (05:05 +0000)
committerueno <ueno>
Thu, 12 Oct 2006 05:05:48 +0000 (05:05 +0000)
Reported by Hirohisa Yamaguchi <umq@ueo.co.jp>.

ChangeLog
epg.el

index 79e3618..b9dfa4b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-10-12  Daiki Ueno  <ueno@unixuser.org>
+
+       * epg.el (epg-start-verify): Fixed a clearsign verification bug.
+       Reported by Hirohisa Yamaguchi <umq@ueo.co.jp>.
+
 2006-09-29  Daiki Ueno  <ueno@unixuser.org>
 
        * EasyPG: Version 0.0.6 released.
diff --git a/epg.el b/epg.el
index c3e704b..87e8c5c 100644 (file)
--- a/epg.el
+++ b/epg.el
@@ -1597,6 +1597,7 @@ If you are unsure, use synchronous version of this function
     ;; Normal (or cleartext) signature.
     (if (epg-data-file signature)
        (epg--start context (list "--" (epg-data-file signature)))
+      (epg--start context '("-"))
       (if (eq (process-status (epg-context-process context)) 'run)
          (process-send-string (epg-context-process context)
                               (epg-data-string signature)))