[dovecot-cvs] dovecot/src/imap-login client-authenticate.c, 1.20, 1.21

cras at procontrol.fi cras at procontrol.fi
Sat Jul 3 01:03:39 EEST 2004


Update of /home/cvs/dovecot/src/imap-login
In directory talvi:/tmp/cvs-serv28586/src/imap-login

Modified Files:
	client-authenticate.c 
Log Message:
Added APOP authentication for POP3. Patch by Andrey Panin.

This required some changes in auth APIs.



Index: client-authenticate.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap-login/client-authenticate.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- client-authenticate.c	23 Jun 2004 18:05:14 -0000	1.20
+++ client-authenticate.c	2 Jul 2004 22:03:37 -0000	1.21
@@ -182,7 +182,7 @@
 	client_ref(client);
 
 	client->common.auth_request =
-		auth_client_request_new(auth_client, &info,
+		auth_client_request_new(auth_client, NULL, &info,
 					login_callback, client, &error);
 	if (client->common.auth_request == NULL) {
 		client_send_tagline(client, t_strconcat(
@@ -315,7 +315,7 @@
 
 	client_ref(client);
 	client->common.auth_request =
-		auth_client_request_new(auth_client, &info,
+		auth_client_request_new(auth_client, NULL, &info,
 					authenticate_callback, client, &error);
 	if (client->common.auth_request != NULL) {
 		/* following input data will go to authentication */



More information about the dovecot-cvs mailing list