changeset: 6558:b55c6a64a07b
user: Kevin McCarthy <[email protected]>
date: Thu Feb 11 15:12:48 2016 -0800
link: http://dev.mutt.org/hg/mutt/rev/b55c6a64a07b
Update the status message after decryption using gpgpme.
Change gpgme to behave the same as classic pgp mode: after a
decryption, update the status message to overwrite the initial
"Invoking PGP..." message.
diffs (19 lines):
diff -r 3b59ef2bf032 -r b55c6a64a07b crypt-gpgme.c
--- a/crypt-gpgme.c Thu Feb 11 02:15:27 2016 +0100
+++ b/crypt-gpgme.c Thu Feb 11 15:12:48 2016 -0800
@@ -2634,8 +2634,14 @@
}
mutt_free_body (&tattach);
+ mutt_message _("PGP message successfully decrypted.");
}
-
+ else
+ {
+ mutt_error _("Could not decrypt PGP message");
+ rc = -1;
+ }
+
safe_fclose (&fpout);
mutt_unlink(tempfile);
dprint (2, (debugfile, "Leaving pgp_encrypted handler\n"));