[dovecot-cvs] dovecot/src/auth password-scheme.c,1.8,1.9

cras at dovecot.org cras at dovecot.org
Fri Jul 23 21:07:16 EEST 2004


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

Modified Files:
	password-scheme.c 
Log Message:
crypt_generate and md5_generate used only 3 different characters for salt.
Patch by Joshua Goodall.



Index: password-scheme.c
===================================================================
RCS file: /home/cvs/dovecot/src/auth/password-scheme.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- password-scheme.c	30 May 2004 03:57:15 -0000	1.8
+++ password-scheme.c	23 Jul 2004 18:07:14 -0000	1.9
@@ -15,7 +15,7 @@
 #  include <openssl/sha.h>
 #endif
 
-static const char *salt_chars =
+static const char salt_chars[] =
 	"./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
 
 static buffer_t *schemes_buf;



More information about the dovecot-cvs mailing list