From: Matthew Mondor Date: Fri, 16 Mar 2007 16:17:14 +0000 (+0000) Subject: PHP can now deal with 8 chars of salt X-Git-Url: http://git.pulsar-zone.net/?a=commitdiff_plain;h=d77f0ad2cfeee67e9641fd293813c25a67d67952;p=mmondor.git PHP can now deal with 8 chars of salt --- diff --git a/mmsoftware/mmpasswd/mmpasswd.c b/mmsoftware/mmpasswd/mmpasswd.c index af96d8a..d998a4b 100644 --- a/mmsoftware/mmpasswd/mmpasswd.c +++ b/mmsoftware/mmpasswd/mmpasswd.c @@ -1,4 +1,4 @@ -/* $Id: mmpasswd.c,v 1.6 2004/05/06 00:05:35 mmondor Exp $ */ +/* $Id: mmpasswd.c,v 1.6.6.1 2007/03/16 16:17:14 mmondor Exp $ */ /* * Copyright (C) 2002-2004, Matthew Mondor @@ -52,7 +52,7 @@ MMCOPYRIGHT("@(#) Copyright (c) 2002-2004\n\ \tMatthew Mondor. All rights reserved.\n"); -MMRCSID("$Id: mmpasswd.c,v 1.6 2004/05/06 00:05:35 mmondor Exp $"); +MMRCSID("$Id: mmpasswd.c,v 1.6.6.1 2007/03/16 16:17:14 mmondor Exp $"); @@ -68,10 +68,7 @@ MMRCSID("$Id: mmpasswd.c,v 1.6 2004/05/06 00:05:35 mmondor Exp $"); */ struct salt_md5 { - /* Restrict salt to 6 characters since PHP crypt() seems to have this - * limit. - */ - char salt[7]; + char salt[9]; }; struct hash_md5 {