summaryrefslogtreecommitdiff
path: root/src/tests/encrypt_cookies_invalid_decryption2.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/encrypt_cookies_invalid_decryption2.phpt')
-rw-r--r--src/tests/encrypt_cookies_invalid_decryption2.phpt19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/tests/encrypt_cookies_invalid_decryption2.phpt b/src/tests/encrypt_cookies_invalid_decryption2.phpt
deleted file mode 100644
index b3a55dd..0000000
--- a/src/tests/encrypt_cookies_invalid_decryption2.phpt
+++ /dev/null
@@ -1,19 +0,0 @@
1--TEST--
2Cookie encryption
3--SKIPIF--
4<?php if (!extension_loaded("snuffleupagus")) die "skip"; ?>
5--INI--
6sp.configuration_file={PWD}/config/config_encrypted_cookies.ini
7display_errors=1
8display_startup_errors=1
9error_reporting=E_ALL
10--COOKIE--
11super_cookie=1337;awful_cookie=awful_cookie_value;
12--ENV--
13return <<<EOF
14REMOTE_ADDR=127.0.0.1
15EOF;
16--FILE--
17<?php var_dump($_COOKIE); ?>
18--EXPECT--
19Fatal error: [snuffleupagus][cookie_encryption] Buffer underflow tentative detected in cookie encryption handling in Unknown on line 0 \ No newline at end of file