diff options
Diffstat (limited to 'ext/mcrypt/tests/bug70625.phpt')
-rw-r--r-- | ext/mcrypt/tests/bug70625.phpt | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/ext/mcrypt/tests/bug70625.phpt b/ext/mcrypt/tests/bug70625.phpt deleted file mode 100644 index 65ab8eb022..0000000000 --- a/ext/mcrypt/tests/bug70625.phpt +++ /dev/null @@ -1,20 +0,0 @@ ---TEST-- -Bug #70625: mcrypt_encrypt() : won't return data when no IV was specified under RC4 ---SKIPIF-- -<?php if (!extension_loaded("mcrypt")) print "skip"; ?> ---FILE-- -<?php - -$key = 'secretkey'; -$ciphertext = mcrypt_encrypt(MCRYPT_ARCFOUR, $key, 'payload', MCRYPT_MODE_STREAM); -var_dump(bin2hex($ciphertext)); -$plaintext = mcrypt_decrypt(MCRYPT_ARCFOUR, $key, $ciphertext, MCRYPT_MODE_STREAM); -var_dump($plaintext); - -?> ---EXPECTF-- -Deprecated: Function mcrypt_encrypt() is deprecated in %s%ebug70625.php on line 4 -string(14) "d5c9a57023d0f1" - -Deprecated: Function mcrypt_decrypt() is deprecated in %s%ebug70625.php on line 6 -string(7) "payload" |