[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-mailutils] Re: MailUtils imapd with SCRAM-SHA-1 support

From: Simon Josefsson
Subject: [bug-mailutils] Re: MailUtils imapd with SCRAM-SHA-1 support
Date: Thu, 24 Sep 2009 13:48:26 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

Sergey Poznyakoff <address@hidden> writes:

> Simon Josefsson <address@hidden> 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.


>From 277000fa27dc09df08ca7877998238d6f4923af3 Mon Sep 17 00:00:00 2001
From: Simon Josefsson <address@hidden>
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);

reply via email to

[Prev in Thread] Current Thread [Next in Thread]