diff options
| author | Giovanni | 2020-07-21 11:58:22 +0200 |
|---|---|---|
| committer | GitHub | 2020-07-21 11:58:22 +0200 |
| commit | b90e0ecc6b0717786ae72236c37157f1b5983521 (patch) | |
| tree | 8b9bdb4aaa8ba6bfdf1baef09df88afa64c8a4f6 /src/tests/session_encryption | |
| parent | 043d9897b4d6879f9a91dbd0ccdb476649731f7c (diff) | |
Fix #338 - added log type if type is simulation, drop or log. (#339)
Co-authored-by: Giovanni Dante Grazioli <giovanni.dantegrazioli@nbs-system.com>
Diffstat (limited to 'src/tests/session_encryption')
| -rw-r--r-- | src/tests/session_encryption/crypt_session_corrupted_session.phpt | 2 | ||||
| -rw-r--r-- | src/tests/session_encryption/crypt_session_invalid.phpt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/session_encryption/crypt_session_corrupted_session.phpt b/src/tests/session_encryption/crypt_session_corrupted_session.phpt index 2c4f085..e139115 100644 --- a/src/tests/session_encryption/crypt_session_corrupted_session.phpt +++ b/src/tests/session_encryption/crypt_session_corrupted_session.phpt | |||
| @@ -27,4 +27,4 @@ session_start(); | |||
| 27 | var_dump($_SESSION); | 27 | var_dump($_SESSION); |
| 28 | ?> | 28 | ?> |
| 29 | --EXPECTF-- | 29 | --EXPECTF-- |
| 30 | Fatal error: [snuffleupagus][127.0.0.1][cookie_encryption] Buffer underflow tentative detected in cookie encryption handling in %s/crypt_session_corrupted_session.php on line %s | 30 | Fatal error: [snuffleupagus][127.0.0.1][cookie_encryption][drop] Buffer underflow tentative detected in cookie encryption handling in %s/crypt_session_corrupted_session.php on line %s |
diff --git a/src/tests/session_encryption/crypt_session_invalid.phpt b/src/tests/session_encryption/crypt_session_invalid.phpt index 9d9a88a..69e7e72 100644 --- a/src/tests/session_encryption/crypt_session_invalid.phpt +++ b/src/tests/session_encryption/crypt_session_invalid.phpt | |||
| @@ -21,4 +21,4 @@ session_start(); // Re start the session, It will read and decrypt the non em | |||
| 21 | var_dump($_SESSION); // Dump the session | 21 | var_dump($_SESSION); // Dump the session |
| 22 | ?> | 22 | ?> |
| 23 | --EXPECTF-- | 23 | --EXPECTF-- |
| 24 | Warning: [snuffleupagus][127.0.0.2][cookie_encryption] Something went wrong with the decryption of the session in %s/crypt_session_invalid.php on line %d | 24 | Warning: [snuffleupagus][127.0.0.2][cookie_encryption][log] Something went wrong with the decryption of the session in %s/crypt_session_invalid.php on line %d |
