* epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
[elisp/epg.git] / epg.el
diff --git a/epg.el b/epg.el
index 0c58a54..3ba189f 100644 (file)
--- a/epg.el
+++ b/epg.el
@@ -417,7 +417,7 @@ This function is for internal use only."
            "")))
 
 (defun epg-verify-result-to-string (verify-result)
-  (mapconcat #'epg-signature-to-string (reverse verify-result) "\n"))
+  (mapconcat #'epg-signature-to-string verify-result "\n"))
 
 (defun epg-start (context args)
   "Start `epg-gpg-program' in a subprocess with given ARGS."
@@ -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)