fi
AM_CONDITIONAL(USE_GSS, test x$need_gss = xyes)
+dnl -- end imap dependencies --
+
AC_ARG_WITH(ssl, [ --with-ssl[=PFX] Compile in SSL support for POP/IMAP],
[ if test "$with_ssl" != "no"
then
fi
])
-dnl -- end imap dependencies --
-
AC_ARG_WITH(sasl, [ --with-sasl[=PFX] Use Cyrus SASL library for POP/IMAP authentication],
[
if test "$need_socket" != "yes"
for (type = IMAP_NS_PERSONAL; *s; type++)
{
s = imap_next_word (s);
- if (ascii_strncasecmp (s, "NIL", 3))
+ if (*s && ascii_strncasecmp (s, "NIL", 3))
{
s++;
while (*s && *s != ')')
/* update context with message header */
ctx->hdrs[msgno] = mutt_new_header ();
- ctx->hdrs[msgno]->index = ctx->msgcount;
ctx->hdrs[msgno]->index = h.sid - 1;
if (h.sid != ctx->msgcount + 1)
dprint (1, (debugfile, "imap_read_headers: msgcount and sequence ID are inconsistent!"));
* work for POP, we can make it a flag or move this code into
* imap/auth_sasl.c */
memset (&secprops, 0, sizeof (secprops));
- secprops.max_ssf = (sasl_ssf_t) -1;
+ /* Work around a casting bug in the SASL krb4 module */
+ secprops.max_ssf = 0x7fff;
secprops.maxbufsize = M_SASL_MAXBUF;
secprops.security_flags |= SASL_SEC_NOPLAINTEXT;
if (sasl_setprop (*saslconn, SASL_SEC_PROPS, &secprops) != SASL_OK)