summaryrefslogtreecommitdiff
path: root/pith/smime.h
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2014-05-31 21:37:10 -0600
committerEduardo Chappa <chappa@washington.edu>2014-05-31 21:37:10 -0600
commit60b67de2ba4be4d2bfeeeea685869e9a5a7363c0 (patch)
tree20831a8341dfe86c0f4c247df9ac5b5ec61b41db /pith/smime.h
parentd8f387ef722cfb9e694d25c1ab182d01501f1b9d (diff)
downloadalpine-60b67de2ba4be4d2bfeeeea685869e9a5a7363c0.tar.xz
* 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.
Diffstat (limited to 'pith/smime.h')
-rw-r--r--pith/smime.h3
1 files changed, 2 insertions, 1 deletions
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 */