changeset 9561:e4c096fae5ac HEAD

auth: Removed special case check for MD5-CRYPT from wrong password scheme checking.
author Timo Sirainen <tss@iki.fi>
date Fri, 16 Apr 2010 13:22:00 +0300
parents a6d0fa17ddee
children 0dca2668004f
files src/auth/password-scheme.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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,