summaryrefslogtreecommitdiff
path: root/debian/patches/use_system_crypt_fixes.patch
diff options
context:
space:
mode:
authorRaphael Geissert <geissert@debian.org>2010-07-31 15:53:12 -0400
committerOndřej Surý <ondrej@sury.org>2010-10-21 08:52:50 +0200
commit3c7bc2c87fd842df1df75783e014029adae00433 (patch)
tree07348580ede71c8573ac7bf070b2d9daca51439a /debian/patches/use_system_crypt_fixes.patch
parent931ef23e1a9a93ad1d923f3fda90e94c32b669f2 (diff)
downloadphp-debian/5.3.3-1.tar.gz
Imported Debian patch 5.3.3-1debian/5.3.3-1
Diffstat (limited to 'debian/patches/use_system_crypt_fixes.patch')
-rw-r--r--debian/patches/use_system_crypt_fixes.patch10
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