]> granicus.if.org Git - neomutt/commitdiff
Don't treat PGP inline signature verification errors as fatal.
authorBrendan Cully <brendan@kublai.com>
Wed, 24 Aug 2005 15:17:43 +0000 (15:17 +0000)
committerBrendan Cully <brendan@kublai.com>
Wed, 24 Aug 2005 15:17:43 +0000 (15:17 +0000)
pgp.c

diff --git a/pgp.c b/pgp.c
index f7fcccf2977a1dc96073d98b1b2377ff0e70770b..fae3ecd3855460f04abce93ea6c938f65c889783 100644 (file)
--- a/pgp.c
+++ b/pgp.c
@@ -387,7 +387,7 @@ int pgp_application_pgp_handler (BODY *m, STATE *s)
          c = fgetc (pgpout);
          ungetc (c, pgpout);
        }
-        if (!pgpout || c == EOF)
+        if (!clearsign && (!pgpout || c == EOF))
        {
           mutt_error _("Could not decrypt PGP message");
          mutt_sleep (1);