From 962408f5411cf543878b1e2de097f6376b459de4 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Tue, 29 Apr 2008 17:14:03 +0000 Subject: [PATCH] Backport fix from trunk for SASL bug. --- ChangeLog | 4 ++++ mts/smtp/smtp.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c0f38c2..4e42901 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-04-29 Peter Maydell + + * Port fix from trunk for SASL not working with newer libsasl. + 2008-04-27 Peter Maydell * Released nmh-1.3 RC1. diff --git a/mts/smtp/smtp.c b/mts/smtp/smtp.c index 1ab027f..9527a5e 100644 --- a/mts/smtp/smtp.c +++ b/mts/smtp/smtp.c @@ -1246,7 +1246,7 @@ sm_auth_sasl(char *user, char *mechlist, char *host) result = sasl_decode64(sm_reply.text, sm_reply.length, outbuf, sizeof(outbuf), &outlen); - if (result != SASL_OK) { + if (result != SASL_OK && result != SASL_CONTINUE) { smtalk(SM_AUTH, "*"); sm_ierror("SASL base64 decode failed: %s", sasl_errstring(result, NULL, NULL)); -- 1.7.10.4