summaryrefslogtreecommitdiffstats
path: root/crypt-mod-smime-classic.c
diff options
context:
space:
mode:
authorBrendan Cully <brendan@kublai.com>2005-08-11 21:16:38 +0000
committerBrendan Cully <brendan@kublai.com>2005-08-11 21:16:38 +0000
commita281b7cc304ebd981afd04248edff6191d73b686 (patch)
tree11ff65492f622111dab4ce280427d8127f908165 /crypt-mod-smime-classic.c
parentb7cb2829bc6737a010bc841772922a1159bf7fc0 (diff)
Add error results to mutt_body_handlers, and check them when doing
decode-save. Closes: #1919.
Diffstat (limited to 'crypt-mod-smime-classic.c')
-rw-r--r--crypt-mod-smime-classic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypt-mod-smime-classic.c b/crypt-mod-smime-classic.c
index cff63b24..0d038732 100644
--- a/crypt-mod-smime-classic.c
+++ b/crypt-mod-smime-classic.c
@@ -41,9 +41,9 @@ static int crypt_mod_smime_decrypt_mime (FILE *a, FILE **b, BODY *c, BODY **d)
{
return smime_decrypt_mime (a, b, c, d);
}
-static void crypt_mod_smime_application_handler (BODY *m, STATE *s)
+static int crypt_mod_smime_application_handler (BODY *m, STATE *s)
{
- smime_application_smime_handler (m, s);
+ return smime_application_smime_handler (m, s);
}
static char *crypt_mod_smime_findkeys (ADDRESS *to, ADDRESS *cc, ADDRESS *bcc)