diff options
| -rw-r--r-- | ext/standard/crypt.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/crypt.c b/ext/standard/crypt.c index efccd25b8e..181a4d4931 100644 --- a/ext/standard/crypt.c +++ b/ext/standard/crypt.c @@ -242,7 +242,7 @@ PHP_FUNCTION(crypt)  		} else if (  				salt[0] == '$' &&  				salt[1] == '2' && -				salt[2] == 'a' && +				salt[2] >= 'a' && salt[2] <= 'z' &&  				salt[3] == '$' &&  				salt[4] >= '0' && salt[4] <= '3' &&  				salt[5] >= '0' && salt[5] <= '9' &&  | 
