diff options
author | Brendan Cully <brendan@kublai.com> | 2005-08-11 21:16:38 +0000 |
---|---|---|
committer | Brendan Cully <brendan@kublai.com> | 2005-08-11 21:16:38 +0000 |
commit | a281b7cc304ebd981afd04248edff6191d73b686 (patch) | |
tree | 11ff65492f622111dab4ce280427d8127f908165 /crypt-mod-pgp-classic.c | |
parent | b7cb2829bc6737a010bc841772922a1159bf7fc0 (diff) |
Add error results to mutt_body_handlers, and check them when doing
decode-save. Closes: #1919.
Diffstat (limited to 'crypt-mod-pgp-classic.c')
-rw-r--r-- | crypt-mod-pgp-classic.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypt-mod-pgp-classic.c b/crypt-mod-pgp-classic.c index e6e3bc80..d3b471b6 100644 --- a/crypt-mod-pgp-classic.c +++ b/crypt-mod-pgp-classic.c @@ -41,9 +41,9 @@ static int crypt_mod_pgp_decrypt_mime (FILE *a, FILE **b, BODY *c, BODY **d) { return pgp_decrypt_mime (a, b, c, d); } -static void crypt_mod_pgp_application_handler (BODY *m, STATE *s) +static int crypt_mod_pgp_application_handler (BODY *m, STATE *s) { - pgp_application_pgp_handler (m, s); + return pgp_application_pgp_handler (m, s); } static char *crypt_mod_pgp_findkeys (ADDRESS *to, ADDRESS *cc, ADDRESS *bcc) @@ -86,9 +86,9 @@ static BODY *crypt_mod_pgp_traditional_encryptsign (BODY *a, int flags, char *ke return pgp_traditional_encryptsign (a, flags, keylist); } -static void crypt_mod_pgp_encrypted_handler (BODY *m, STATE *s) +static int crypt_mod_pgp_encrypted_handler (BODY *m, STATE *s) { - pgp_encrypted_handler (m, s); + return pgp_encrypted_handler (m, s); } static void crypt_mod_pgp_invoke_getkeys (ADDRESS *addr) |