[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-mailutils] [PATCH] SASL fix
From: |
Simon Josefsson |
Subject: |
[bug-mailutils] [PATCH] SASL fix |
Date: |
Sat, 01 Feb 2003 10:14:57 +0100 |
User-agent: |
Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.3.50 (i686-pc-linux-gnu) |
Some SASL mechanisms output data when GSASL_OK is returned (data which
doesn't affect the outcome of the SASL negotiation, typically data
that provides mutual authentication for the client). This makes sure
it is sent.
Index: auth_gsasl.c
===================================================================
RCS file: /cvsroot/mailutils/mailutils/imap4d/auth_gsasl.c,v
retrieving revision 1.4
diff -u -p -u -w -r1.4 auth_gsasl.c
--- auth_gsasl.c 23 Jan 2003 09:43:07 -0000 1.4
+++ auth_gsasl.c 1 Feb 2003 09:12:34 -0000
@@ -100,6 +100,9 @@ auth_gsasl (struct imap4d_command *comma
return RESP_NO;
}
+ if (output_len > 0)
+ util_send ("+ %s\r\n", output);
+
if (*username == NULL)
{
syslog (LOG_NOTICE, _("GSASL %s: cannot get username"), auth_type);
- [bug-mailutils] [PATCH] SASL fix,
Simon Josefsson <=