[dovecot-cvs] dovecot/src/auth password-scheme-md5crypt.c,1.1,1.2

cras at dovecot.org cras at dovecot.org
Sun Jan 16 18:47:30 EET 2005


Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv1485

Modified Files:
	password-scheme-md5crypt.c 
Log Message:
MD5crypt was broken with 64bit systems.



Index: password-scheme-md5crypt.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/password-scheme-md5crypt.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- password-scheme-md5crypt.c	10 Nov 2003 20:36:02 -0000	1.1
+++ password-scheme-md5crypt.c	16 Jan 2005 16:47:27 -0000	1.2
@@ -24,7 +24,7 @@
 static unsigned char itoa64[] =		/* 0 ... 63 => ascii - 64 */
 	"./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
 
-static char	*magic = "$1$";	/*
+static char	magic[] = "$1$";	/*
 				 * This string is magic for
 				 * this algorithm.  Having
 				 * it this way, we can get



More information about the dovecot-cvs mailing list