[dovecot-cvs] dovecot/src/login-common sasl-server.c, 1.10.2.7, 1.10.2.8

tss at dovecot.org tss at dovecot.org
Tue Mar 27 01:23:02 EEST 2007


Update of /var/lib/cvs/dovecot/src/login-common
In directory talvi:/tmp/cvs-serv17157

Modified Files:
      Tag: branch_1_0
	sasl-server.c 
Log Message:
Update waiting_auth_reply early enough, so that if client does another
authentication after a failed one it can send the input before waiting for
server's initial reply.



Index: sasl-server.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/login-common/sasl-server.c,v
retrieving revision 1.10.2.7
retrieving revision 1.10.2.8
diff -u -d -r1.10.2.7 -r1.10.2.8
--- sasl-server.c	6 Mar 2007 23:59:40 -0000	1.10.2.7
+++ sasl-server.c	26 Mar 2007 22:23:00 -0000	1.10.2.8
@@ -59,10 +59,11 @@
 	}
 
 	i_assert(client->auth_request == request);
+	client->waiting_auth_reply = FALSE;
+
 	switch (status) {
 	case 0:
 		/* continue */
-		client->waiting_auth_reply = FALSE;
 		client->sasl_callback(client, SASL_SERVER_REPLY_CONTINUE,
 				      data_base64, NULL);
 		break;



More information about the dovecot-cvs mailing list