dovecot-1.2: auth: Removed special case check for MD5-CRYPT from...

dovecot at dovecot.org dovecot at dovecot.org
Fri Apr 16 13:22:05 EEST 2010


details:   http://hg.dovecot.org/dovecot-1.2/rev/e4c096fae5ac
changeset: 9561:e4c096fae5ac
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Apr 16 13:22:00 2010 +0300
description:
auth: Removed special case check for MD5-CRYPT from wrong password scheme checking.

diffstat:

 src/auth/password-scheme.c |  3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diffs (13 lines):

diff -r a6d0fa17ddee -r e4c096fae5ac src/auth/password-scheme.c
--- a/src/auth/password-scheme.c	Wed Apr 14 19:17:08 2010 +0300
+++ b/src/auth/password-scheme.c	Fri Apr 16 13:22:00 2010 +0300
@@ -260,9 +260,6 @@
 	const unsigned char *raw_password;
 	size_t raw_password_size;
 
-	if (strncmp(crypted_password, "$1$", 3) == 0)
-		return "MD5-CRYPT";
-
 	schemes = array_get(&password_schemes, &count);
 	for (i = 0; i < count; i++) {
 		if (password_decode(crypted_password, schemes[i]->name,


More information about the dovecot-cvs mailing list