diff options
Diffstat (limited to 'debian/patches/use_system_crypt_fixes.patch')
-rw-r--r-- | debian/patches/use_system_crypt_fixes.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/debian/patches/use_system_crypt_fixes.patch b/debian/patches/use_system_crypt_fixes.patch index 5f3d095f0..6724f87ca 100644 --- a/debian/patches/use_system_crypt_fixes.patch +++ b/debian/patches/use_system_crypt_fixes.patch @@ -3,14 +3,14 @@ @@ -3,7 +3,7 @@ Bug #51059 crypt() segfaults on certain --FILE-- <?php - $res = crypt('a', '_'); --if ($res == '*0' || $res == '*1') echo 'OK'; -+if ($res == '__DAZ.Z4ErJDo') echo 'OK'; + $res = crypt(b'a', b'_'); +-if ($res === b'*0' || $res === b'*1') echo 'OK'; ++if ($res === b'__DAZ.Z4ErJDo') echo 'OK'; else echo 'Not OK'; ?> ---- a/ext/standard/tests/strings/crypt_blowfish_invalid_rounds.phpt -+++ b/ext/standard/tests/strings/crypt_blowfish_invalid_rounds.phpt +--- a/ext/standard/tests/strings/crypt_blowfish_variation1.phpt ++++ b/ext/standard/tests/strings/crypt_blowfish_variation1.phpt @@ -3,8 +3,8 @@ Test Blowfish crypt() with invalid round --FILE-- <?php |