From 60b67de2ba4be4d2bfeeeea685869e9a5a7363c0 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Sat, 31 May 2014 21:37:10 -0600 Subject: * new version 2.19.9991 * S/MIME Alpine would compute incorrectly the signature of a message that contains 8bit if the option "Enable 8bit ESMTP Negotiation" is enabled, the message contains 8bit characters and the smtp server supports 8bit sending. * Crash while redrawing S/MIME configuration screen when importing a certificate * When forwarding a message before opening it, the message might not be found. The problem is in the forward_body function, where the section of the body is not correctly set in all instances. * When forwarding a signed message Alpine might forward the message as a multipart message, instead of just selecting the body of the message. Change to forward the signed part only. This aligns Alpine with what it does when it replies to a similar message. --- pith/smime.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pith/smime.h') diff --git a/pith/smime.h b/pith/smime.h index a2d2c805..f917daf4 100644 --- a/pith/smime.h +++ b/pith/smime.h @@ -50,7 +50,7 @@ int is_pkcs7_body(BODY *b); int fiddle_smime_message(BODY *b, long msgno); int encrypt_outgoing_message(METAENV *header, BODY **bodyP); void free_smime_body_sparep(void **sparep); -int sign_outgoing_message(METAENV *header, BODY **bodyP, int dont_detach); +int sign_outgoing_message(METAENV *header, BODY **bodyP, int dont_detach, BODY **bp); void gf_puts_uline(char *txt, gf_io_t pc); PERSONAL_CERT *find_certificate_matching_recip_info(PKCS7_RECIP_INFO *ri); PERSONAL_CERT *get_personal_certs(char *path); @@ -84,6 +84,7 @@ int add_file_to_container(WhichCerts ctype, char *fpath, char *altname); void *create_smime_sparep(SpareType stype, void *s); SpareType get_smime_sparep_type(void *s); void *get_smime_sparep_data(void *s); +STACK_OF(X509) *get_chain_for_cert(X509 *cert, int *error, int *level); #endif /* PITH_SMIME_INCLUDED */ #endif /* SMIME */ -- cgit v1.2.3-54-g00ecf