]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: Removed special case check for MD5-CRYPT from wrong password scheme checking.
authorTimo Sirainen <tss@iki.fi>
Fri, 16 Apr 2010 10:22:19 +0000 (13:22 +0300)
committerTimo Sirainen <tss@iki.fi>
Fri, 16 Apr 2010 10:22:19 +0000 (13:22 +0300)
--HG--
branch : HEAD

src/auth/password-scheme.c

index 5ac8db1096f2d55145cd821b2368725b157a058e..2bef16446c1b4bbcb08d89a869e0afdd48812578 100644 (file)
@@ -260,9 +260,6 @@ password_scheme_detect(const char *plain_password, const char *crypted_password,
        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,