[dovecot-cvs] dovecot/src/lib-auth auth-client.h, 1.1, 1.2 auth-server-request.c, 1.6, 1.7

cras at procontrol.fi cras at procontrol.fi
Mon May 17 04:32:19 EEST 2004


Update of /home/cvs/dovecot/src/lib-auth
In directory talvi:/tmp/cvs-serv3177/src/lib-auth

Modified Files:
	auth-client.h auth-server-request.c 
Log Message:
Added ssl_require_client_cert auth-specific setting. Hide
ssl_verify_client_cert from default config file as it's automatically set if
needed and there's not much point in forcing it.



Index: auth-client.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-auth/auth-client.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- auth-client.h	22 Aug 2003 02:42:13 -0000	1.1
+++ auth-client.h	17 May 2004 01:32:17 -0000	1.2
@@ -31,6 +31,7 @@
 struct auth_request *
 auth_client_request_new(struct auth_client *client,
 			enum auth_mech mech, enum auth_protocol protocol,
+			enum auth_client_request_new_flags flags,
 			auth_request_callback_t *callback, void *context,
 			const char **error_r);
 

Index: auth-server-request.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-auth/auth-server-request.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- auth-server-request.c	8 Dec 2003 22:19:46 -0000	1.6
+++ auth-server-request.c	17 May 2004 01:32:17 -0000	1.7
@@ -11,7 +11,8 @@
         struct auth_server_connection *conn;
 
 	enum auth_mech mech;
-        enum auth_protocol protocol;
+	enum auth_protocol protocol;
+	enum auth_client_request_new_flags flags;
 
 	unsigned int id;
 
@@ -35,6 +36,7 @@
 	auth_request.id = request->id;
 	auth_request.protocol = request->protocol;
 	auth_request.mech = request->mech;
+	auth_request.flags = request->flags;
 
 	if (o_stream_send(conn->output, &auth_request,
 			  sizeof(auth_request)) < 0) {
@@ -177,6 +179,7 @@
 struct auth_request *
 auth_client_request_new(struct auth_client *client,
 			enum auth_mech mech, enum auth_protocol protocol,
+			enum auth_client_request_new_flags flags,
 			auth_request_callback_t *callback, void *context,
 			const char **error_r)
 {
@@ -191,6 +194,7 @@
 	request->conn = conn;
 	request->mech = mech;
 	request->protocol = protocol;
+	request->flags = flags;
 	request->id = ++client->request_id_counter;
 	if (request->id == 0) {
 		/* wrapped - ID 0 not allowed */



More information about the dovecot-cvs mailing list