[dovecot-cvs] dovecot/src/imap-login client-authenticate.c,1.3,1.4
cras at procontrol.fi
cras at procontrol.fi
Sun Feb 2 12:53:45 EET 2003
- Previous message: [dovecot-cvs] dovecot/src/login-common auth-common.c,NONE,1.1 auth-common.h,NONE,1.1 Makefile.am,1.1,1.2 client-common.h,1.1,1.2
- Next message: [dovecot-cvs] dovecot/src/login-common auth-connection.c,1.3,1.4 auth-connection.h,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/imap-login
In directory danu:/tmp/cvs-serv22600/imap-login
Modified Files:
client-authenticate.c
Log Message:
Send protocol with auth requests
Index: client-authenticate.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap-login/client-authenticate.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- client-authenticate.c 2 Feb 2003 10:46:20 -0000 1.3
+++ client-authenticate.c 2 Feb 2003 10:53:43 -0000 1.4
@@ -176,8 +176,8 @@
buffer_append(client->plain_login, pass, strlen(pass));
client_ref(client);
- if (auth_init_request(AUTH_MECH_PLAIN, login_callback,
- &client->common, &error)) {
+ if (auth_init_request(AUTH_MECH_PLAIN, AUTH_PROTOCOL_IMAP,
+ login_callback, &client->common, &error)) {
/* don't read any input from client until login is finished */
if (client->common.io != NULL) {
io_remove(client->common.io);
@@ -296,8 +296,8 @@
}
client_ref(client);
- if (auth_init_request(mech->mech, authenticate_callback,
- &client->common, &error)) {
+ if (auth_init_request(mech->mech, AUTH_PROTOCOL_IMAP,
+ authenticate_callback, &client->common, &error)) {
/* following input data will go to authentication */
if (client->common.io != NULL)
io_remove(client->common.io);
- Previous message: [dovecot-cvs] dovecot/src/login-common auth-common.c,NONE,1.1 auth-common.h,NONE,1.1 Makefile.am,1.1,1.2 client-common.h,1.1,1.2
- Next message: [dovecot-cvs] dovecot/src/login-common auth-connection.c,1.3,1.4 auth-connection.h,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list