From: Stanislav Malyshev Date: Mon, 4 Jul 2011 23:38:09 +0000 (+0000) Subject: fix crypt() issue with overlong salt X-Git-Tag: php-5.5.0alpha1~1836 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e3668bdf1c6f32a6df178723f8da7aba17eb2097;p=php fix crypt() issue with overlong salt --- diff --git a/ext/standard/tests/strings/crypt_variation1.phpt b/ext/standard/tests/strings/crypt_variation1.phpt new file mode 100644 index 0000000000..6e0d3fe121 --- /dev/null +++ b/ext/standard/tests/strings/crypt_variation1.phpt @@ -0,0 +1,23 @@ +--TEST-- +crypt() function - long salt +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +$5$AAAAAAAAAAAAAAAA$frotiiztWZiwcncxnY5tWG9Ida2WOZEximjLXCleQu6 +$5$AAAAAAAAAAAAAAAA$frotiiztWZiwcncxnY5tWG9Ida2WOZEximjLXCleQu6 +$5$AAAAAAAAAAAAAAAA$frotiiztWZiwcncxnY5tWG9Ida2WOZEximjLXCleQu6