summaryrefslogtreecommitdiff
path: root/ext/mcrypt/tests
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2008-12-03 20:30:45 +0000
committerSVN Migration <svn@php.net>2008-12-03 20:30:45 +0000
commit2876046398950e59c3b3c460e67e6fec7ff2ba3c (patch)
tree33b2b8b4b859960a6446ad19d0ada1c55f9cfcda /ext/mcrypt/tests
parent3fb86b0b9e79e6a3312b694f30ee627e2e1b325c (diff)
downloadphp-git-php-5.3.0alpha2.tar.gz
This commit was manufactured by cvs2svn to create tag 'php_5_3_0alpha2'.php-5.3.0alpha2
Diffstat (limited to 'ext/mcrypt/tests')
-rw-r--r--ext/mcrypt/tests/blowfish.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mcrypt/tests/blowfish.phpt b/ext/mcrypt/tests/blowfish.phpt
index bd8df9d14d..ce258d3e13 100644
--- a/ext/mcrypt/tests/blowfish.phpt
+++ b/ext/mcrypt/tests/blowfish.phpt
@@ -18,7 +18,7 @@ $td = mcrypt_module_open ("blowfish", "", MCRYPT_MODE_ECB, "");
foreach($vectors as $data) {
$data = trim($data);
if ($data) {
- list($key,$plain,$crypt) = preg_split("/[[:space:]]+/",$data);
+ list($key,$plain,$crypt) = split("[[:space:]]+",$data);
printf("%s %s ",
$key,
$plain
@@ -50,7 +50,7 @@ $guess = bin2hex( mcrypt_generic( $td, $plain ) );
echo "\n", $guess, "\n";
?>
---EXPECTF--
+--EXPECT--
key plain crypt guess stat
0000000000000000 0000000000000000 4ef997456198dd78 4ef997456198dd78 OK
FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF 51866fd5b85ecb8a 51866fd5b85ecb8a OK