summaryrefslogtreecommitdiff
path: root/ext/mcrypt/tests/blowfish.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mcrypt/tests/blowfish.phpt')
-rw-r--r--ext/mcrypt/tests/blowfish.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/mcrypt/tests/blowfish.phpt b/ext/mcrypt/tests/blowfish.phpt
index 8b06d6ec7a..e110a79b50 100644
--- a/ext/mcrypt/tests/blowfish.phpt
+++ b/ext/mcrypt/tests/blowfish.phpt
@@ -8,7 +8,7 @@ if(!function_exists("hex2bin")) {
function hex2bin($data) {
$len = strlen($data);
return pack("H" . $len, $data);
- }
+ }
}
print "key plain crypt guess stat\n";
@@ -24,7 +24,7 @@ foreach($vectors as $data) {
printf("%s %s ",
$key,
$plain
- );
+ );
$key = hex2bin(trim($key));
$plain = hex2bin(($plain));
$crypt = strtolower(trim($crypt));
@@ -36,8 +36,8 @@ foreach($vectors as $data) {
$crypt,
$guess,
($crypt==$guess ? "OK" : "BAD")
- );
- }
+ );
+ }
}
// Longer test case from http://www.schneier.com/code/vectors.txt