Fixed.
authorueno <ueno>
Thu, 20 Apr 2006 08:20:52 +0000 (08:20 +0000)
committerueno <ueno>
Thu, 20 Apr 2006 08:20:52 +0000 (08:20 +0000)
epg.el

diff --git a/epg.el b/epg.el
index 147eda5..3ba189f 100644 (file)
--- a/epg.el
+++ b/epg.el
@@ -1174,8 +1174,8 @@ If you are unsure, use synchronous version of this function
                     (if (epg-data-file plain)
                         (list (epg-data-file plain)))))
   (if sign
-      (epg-wait-for-status context '("BEGIN_SIGNING")))
-  (epg-wait-for-status context '("BEGIN_ENCRYPTION"))
+      (epg-wait-for-status context '("BEGIN_SIGNING"))
+    (epg-wait-for-status context '("BEGIN_ENCRYPTION")))
   (if (and (epg-data-string plain)
           (eq (process-status (epg-context-process context)) 'run))
       (process-send-string (epg-context-process context)