[dovecot-cvs] dovecot/src/auth mech-digest-md5.c,1.38,1.38.2.1
cras at dovecot.org
cras at dovecot.org
Tue May 30 11:18:40 EEST 2006
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv29711
Modified Files:
Tag: branch_1_0
mech-digest-md5.c
Log Message:
Trying to use subsequent authentication crashed.
Index: mech-digest-md5.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/mech-digest-md5.c,v
retrieving revision 1.38
retrieving revision 1.38.2.1
diff -u -d -r1.38 -r1.38.2.1
--- mech-digest-md5.c 24 Feb 2006 10:05:16 -0000 1.38
+++ mech-digest-md5.c 30 May 2006 08:18:37 -0000 1.38.2.1
@@ -582,17 +582,14 @@
static void
mech_digest_md5_auth_initial(struct auth_request *auth_request,
- const unsigned char *data, size_t data_size)
+ const unsigned char *data __attr_unused__,
+ size_t data_size __attr_unused__)
{
struct digest_auth_request *request =
(struct digest_auth_request *)auth_request;
string_t *challenge;
- if (data_size > 0) {
- /* FIXME: support subsequent authentication? */
- mech_digest_md5_auth_continue(auth_request, data, data_size);
- return;
- }
+ /* FIXME: there's no support for subsequent authentication */
challenge = get_digest_challenge(request);
auth_request->callback(auth_request, AUTH_CLIENT_RESULT_CONTINUE,
More information about the dovecot-cvs
mailing list