Rocco Rutte:
[apps/madmutt.git] / pgp.c
diff --git a/pgp.c b/pgp.c
index 779b2f4..b5eac0e 100644 (file)
--- a/pgp.c
+++ b/pgp.c
@@ -374,8 +374,9 @@ int pgp_application_pgp_handler (BODY * m, STATE * s)
           c = fgetc (pgpout);
           ungetc (c, pgpout);
         }
-        if (!pgpout || c == EOF) {
+        if (!cleansign && (!pgpout || c == EOF)) {
             mutt_error _("Could not decrypt PGP message");
+            mutt_sleep (1);
             pgp_void_passphrase ();
             rc = -1;
             goto out;