summaryrefslogtreecommitdiff
path: root/ext/mcrypt
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2002-03-05 08:24:21 +0000
committerDerick Rethans <derick@php.net>2002-03-05 08:24:21 +0000
commit9354703d9d0b08e015b29401902ad2cdea97853d (patch)
treeb325e9e66652a4aa9ae07a816dabf09127038c37 /ext/mcrypt
parent15ee6955c5728a97a4cd0532aca0614fa367f00a (diff)
downloadphp-git-9354703d9d0b08e015b29401902ad2cdea97853d.tar.gz
- Fix mcrypt tests
Diffstat (limited to 'ext/mcrypt')
-rw-r--r--ext/mcrypt/tests/001.phpt7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/mcrypt/tests/001.phpt b/ext/mcrypt/tests/001.phpt
index 0cefdb5600..4e1b3da631 100644
--- a/ext/mcrypt/tests/001.phpt
+++ b/ext/mcrypt/tests/001.phpt
@@ -6,6 +6,7 @@ Bug #8040
--GET--
--FILE--
<?php
+ error_reporting (E_ALL ^ E_NOTICE);
echo MCRYPT_TWOFISH."\n";
echo MCRYPT_MODE_CBC."\n";
?>
@@ -17,10 +18,10 @@ Bug #8040
<?php
define ("CIPHER", MCRYPT_TWOFISH);
- define ("MODE1", MCRYPT_MODE_CBC);
- define ("MODE2", MCRYPT_CBC);
+ define ("MODE2", MCRYPT_MODE_CBC);
+ define ("MODE3", MCRYPT_CBC);
- printf ("cipher=".CIPHER. " mode1=".MODE1. " mode2=". MODE2."\n");
+ printf ("cipher=".CIPHER. " mode1=".MODE2. " mode2=". MODE3."\n");
?>
--EXPECT--
twofish