[dovecot-cvs] dovecot/src/login-common sasl-server.c,1.12,1.13

tss at dovecot.org tss at dovecot.org
Sun Dec 3 12:47:55 UTC 2006


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

Modified Files:
	sasl-server.c 
Log Message:
Uppercase the auth mechanism name so it's always uppercased in logs.



Index: sasl-server.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/login-common/sasl-server.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- sasl-server.c	7 Nov 2006 15:06:26 -0000	1.12
+++ sasl-server.c	3 Dec 2006 12:47:52 -0000	1.13
@@ -108,7 +108,7 @@
 
 	client->authenticating = TRUE;
 	i_free(client->auth_mech_name);
-	client->auth_mech_name = i_strdup(mech_name);
+	client->auth_mech_name = str_ucase(i_strdup(mech_name));
 	client->sasl_callback = callback;
 
 	mech = auth_client_find_mech(auth_client, mech_name);



More information about the dovecot-cvs mailing list