diff options
author | Eduardo Chappa <chappa@washington.edu> | 2018-08-12 22:34:43 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2018-08-12 22:34:43 -0600 |
commit | 9449b23bbca71471a64f914b4bc7ec7d810e587f (patch) | |
tree | 12e119c0e389546892ae4bc4df82980cda4d6ffe /imap/src/c-client | |
parent | abcd5fe37b31b2e13907893f70a9e411dcf5e295 (diff) | |
download | alpine-9449b23bbca71471a64f914b4bc7ec7d810e587f.tar.xz |
* Several changes to the compilation of Alpine in Windows to use
LibreSSL in connecting to external servers. This complements the
changes to support S/MIME. In particular, we add support for
validation of certificates by using C:\\libressl\ssl\certs as the
place to save CA certificates. In order to help users, some
certificates are distributed. TODO: Kerberos port, w2k.
Diffstat (limited to 'imap/src/c-client')
-rw-r--r-- | imap/src/c-client/imap4r1.c | 5 | ||||
-rw-r--r-- | imap/src/c-client/mail.c | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/imap/src/c-client/imap4r1.c b/imap/src/c-client/imap4r1.c index b20453ee..abaddfe4 100644 --- a/imap/src/c-client/imap4r1.c +++ b/imap/src/c-client/imap4r1.c @@ -3363,13 +3363,12 @@ IMAPPARSEDREPLY *imap_send_literal (MAILSTREAM *stream,char *tag,char **s, long imap_search_x_gm_ext1 (MAILSTREAM *stream, char *charset, SEARCHPGM *pgm, long flags) { char *cmd = (flags & SE_UID) ? "UID SEARCH X-GM-RAW" : "SEARCH X-GM-RAW"; - char *p, *t, s[MAILTMPLEN+1], u[MAILTMPLEN], v[MAILTMPLEN]; - IMAPARG *args[4],apgm,aatt,achs;; + char *t, s[MAILTMPLEN+1], u[MAILTMPLEN]; + IMAPARG *args[4],apgm; IMAPPARSEDREPLY *reply; unsigned long i,j,k; MESSAGECACHE *elt; size_t remain = sizeof(s) - 1, len; - NETMBX mb; u[0] = s[0] = '\0'; t = s; diff --git a/imap/src/c-client/mail.c b/imap/src/c-client/mail.c index 3dd45eb5..43db47aa 100644 --- a/imap/src/c-client/mail.c +++ b/imap/src/c-client/mail.c @@ -2793,8 +2793,6 @@ BODY *mail_body_section (BODY *b, unsigned char *section) BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section) { BODY *b = NIL; - PART *pt; - unsigned long i; /* make sure have a body */ if (section && *section && mail_fetchstructure (stream,msgno,&b) && b) return mail_body_section(b, section); |