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/mailutil | |
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/mailutil')
-rw-r--r-- | imap/src/mailutil/mailutil.c | 3 | ||||
-rw-r--r-- | imap/src/mailutil/makefile.nt | 6 | ||||
-rw-r--r-- | imap/src/mailutil/makefile.ntk | 4 |
3 files changed, 6 insertions, 7 deletions
diff --git a/imap/src/mailutil/mailutil.c b/imap/src/mailutil/mailutil.c index 15ae636b..d8faefa4 100644 --- a/imap/src/mailutil/mailutil.c +++ b/imap/src/mailutil/mailutil.c @@ -456,9 +456,8 @@ int main (int argc,char *argv[]) char *mailutil_string_sequence(MAILSTREAM *m) { char *rv = NULL; - unsigned long i, j, count; + unsigned long i, j; size_t len = 0; - MESSAGECACHE elt; if(m == NULL || m->nmsgs == 0L) return NULL; diff --git a/imap/src/mailutil/makefile.nt b/imap/src/mailutil/makefile.nt index 1a6eb515..97324350 100644 --- a/imap/src/mailutil/makefile.nt +++ b/imap/src/mailutil/makefile.nt @@ -27,9 +27,9 @@ C = ..\c-client CCLIENTLIB = $C\cclient.lib -LIBS = $(CCLIENTLIB) ws2_32.lib winmm.lib advapi32.lib -CFLAGS= -I$C /MT /W3 /DWIN32 /D_WIN32_WINNT=0x0400 -nologo $(EXTRACFLAGS) -OSCOMPAT = /DWIN32 /D_WIN32_WINNT=0x0400 +LIBS = $(CCLIENTLIB) ws2_32.lib winmm.lib advapi32.lib $(LIBRESSLLIBS) +CFLAGS= -I$C /MT /W3 /DWIN32 /D_WIN32_WINNT=0x0501 -nologo $(EXTRACFLAGS) +OSCOMPAT = /DWIN32 /D_WIN32_WINNT=0x0501 VSCOMPAT = /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE CFLAGS= -I$C /MT /W3 $(OSCOMPAT) $(VSCOMPAT) -nologo $(EXTRACFLAGS) diff --git a/imap/src/mailutil/makefile.ntk b/imap/src/mailutil/makefile.ntk index 42ae5185..f4cd28d4 100644 --- a/imap/src/mailutil/makefile.ntk +++ b/imap/src/mailutil/makefile.ntk @@ -29,8 +29,8 @@ C = ..\c-client CCLIENTLIB = $C\cclient.lib K5 = \k5\lib K5LIB = $(K5)\comerr32.lib $(K5)\gssapi32.lib $(K5)\krb5_32.lib -LIBS = $(CCLIENTLIB) $(K5LIB) ws2_32.lib winmm.lib advapi32.lib -OSCOMPAT = /DWIN32 /D_WIN32_WINNT=0x0400 +LIBS = $(CCLIENTLIB) $(K5LIB) ws2_32.lib winmm.lib advapi32.lib $(LIBRESSLLIBS) +OSCOMPAT = /DWIN32 /D_WIN32_WINNT=0x0501 VSCOMPAT = /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE CFLAGS= -I$C /MT /W3 $(OSCOMPAT) $(VSCOMPAT) -nologo $(EXTRACFLAGS) |