Sergey Poznyakoff <[email protected]> writes: > Simon Josefsson <[email protected]> ha escrit: > >> However, imapd/auth_gsasl.c could use some cleaning up to use the latest >> GNU SASL interface (right now there are warnings about using deprecated >> interfaces). Before sending a patch, are you OK with abandoning support >> for old GNU SASL? > > Yes, of course. > >> If you agree with this, I can prepare a patch to cleanup the code a >> bit. > > Yes, please do.
The code was in better shape than I first thought. The patch below is the only patch needed to bring it up to speed. However I believe I identified a gsasl related problem, will debug and report separately. /Simon >From 277000fa27dc09df08ca7877998238d6f4923af3 Mon Sep 17 00:00:00 2001 From: Simon Josefsson <[email protected]> Date: Thu, 24 Sep 2009 13:47:40 +0200 Subject: [PATCH] Don't use deprecated GNU SASL types. --- include/mailutils/gsasl.h | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/include/mailutils/gsasl.h b/include/mailutils/gsasl.h index 6067746..ef33f25 100644 --- a/include/mailutils/gsasl.h +++ b/include/mailutils/gsasl.h @@ -37,8 +37,7 @@ struct mu_gsasl_module_data mu_gsasl_module_data; #include <gsasl.h> int mu_gsasl_stream_create (mu_stream_t *stream, mu_stream_t transport, - Gsasl_session_ctx *ctx, - int flags); + Gsasl_session *ctx, int flags); #endif -- 1.6.3.3 _______________________________________________ Bug-mailutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-mailutils
