[dovecot-cvs] dovecot/src/auth userinfo-passwd-file.c,1.14,1.15

cras at procontrol.fi cras at procontrol.fi
Mon Dec 9 18:43:11 EET 2002


Update of /home/cvs/dovecot/src/auth
In directory danu:/tmp/cvs-serv17714/auth

Modified Files:
	userinfo-passwd-file.c 
Log Message:
Digest-MD5 lookup was broken.



Index: userinfo-passwd-file.c
===================================================================
RCS file: /home/cvs/dovecot/src/auth/userinfo-passwd-file.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- userinfo-passwd-file.c	8 Dec 2002 05:23:07 -0000	1.14
+++ userinfo-passwd-file.c	9 Dec 2002 16:43:09 -0000	1.15
@@ -170,7 +170,7 @@
 	/* found */
 	i_assert(strlen(pu->password) == 32);
 
-	buf = buffer_create_data(data_stack_pool, digest, sizeof(digest));
+	buf = buffer_create_data(data_stack_pool, digest, 16);
 	if (!hex_to_binary(pu->password, buf))
 		return FALSE;
 	




More information about the dovecot-cvs mailing list