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

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


details:   http://hg.dovecot.org/dovecot-2.0/rev/af46998fdccf
changeset: 11157:af46998fdccf
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Apr 16 13:22:19 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 57e53ecebbd3 -r af46998fdccf src/auth/password-scheme.c
--- a/src/auth/password-scheme.c	Wed Apr 14 19:27:26 2010 +0300
+++ b/src/auth/password-scheme.c	Fri Apr 16 13:22:19 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