mirror of
https://github.com/php/php-src.git
synced 2024-11-28 12:26:37 +08:00
Bug fixes in light of failing bcrypt tests
Conflicts: ext/standard/crypt.c
This commit is contained in:
parent
2d9d10fbbf
commit
7e870c596d
@ -242,7 +242,6 @@ PHP_FUNCTION(crypt)
|
||||
} else if (
|
||||
salt[0] == '$' &&
|
||||
salt[1] == '2' &&
|
||||
salt[2] >= 'a' && salt[2] <= 'z' &&
|
||||
salt[3] == '$' &&
|
||||
salt[4] >= '0' && salt[4] <= '3' &&
|
||||
salt[5] >= '0' && salt[5] <= '9' &&
|
||||
|
@ -105,3 +105,6 @@ foreach($tests2 as $test) {
|
||||
29. OK
|
||||
30. OK
|
||||
31. OK
|
||||
32. OK
|
||||
33. OK
|
||||
34. OK
|
||||
|
Loading…
Reference in New Issue
Block a user