diff options
author | Eduardo Chappa <chappa@washington.edu> | 2017-12-10 09:24:34 -0700 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2017-12-10 09:24:34 -0700 |
commit | 480bf4063f7d31b7d2c9ec8edd9fc4280ffb39ee (patch) | |
tree | 542f1b86a451bc33e6320dce3ccfed4ea57580a3 /alpine/smime.c | |
parent | e0ebb8756c000f325a14469eec065654882bd0ac (diff) | |
download | alpine-480bf4063f7d31b7d2c9ec8edd9fc4280ffb39ee.tar.xz |
Initial commit for branch ical
Diffstat (limited to 'alpine/smime.c')
-rw-r--r-- | alpine/smime.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/alpine/smime.c b/alpine/smime.c index 2fe22a36..2982397c 100644 --- a/alpine/smime.c +++ b/alpine/smime.c @@ -36,6 +36,7 @@ static char rcsid[] = "$Id: smime.c 1074 2008-06-04 00:08:43Z hubert@u.washingto #include "../pith/list.h" #include "../pith/mailcmd.h" #include "../pith/tempfile.h" +#include "../pith/body.h" #include "radio.h" #include "keymenu.h" #include "mailcmd.h" @@ -116,8 +117,8 @@ smime_check(BODY *body) } if(rv > 0) return rv; if(body->sparep) - p7 = get_smime_sparep_type(body->sparep) == P7Type - ? (PKCS7 *)get_smime_sparep_data(body->sparep) + p7 = get_body_sparep_type(body->sparep) == P7Type + ? (PKCS7 *)get_body_sparep_data(body->sparep) : NULL; if(p7 && (PKCS7_type_is_signed(p7) || PKCS7_type_is_enveloped(p7))) rv += 1; @@ -237,8 +238,8 @@ format_smime_info(int pass, BODY *body, long msgno, gf_io_t pc) format_smime_info(pass, &p->body, msgno, pc); } if(body->sparep) - p7 = get_smime_sparep_type(body->sparep) == P7Type - ? (PKCS7 *)get_smime_sparep_data(body->sparep) + p7 = get_body_sparep_type(body->sparep) == P7Type + ? (PKCS7 *)get_body_sparep_data(body->sparep) : NULL; if(p7){ |