summaryrefslogtreecommitdiff
path: root/ext/openssl/tests/openssl_decrypt_gcm.phpt
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate passing null to non-nullable arg of internal functionNikita Popov2021-02-111-1/+1
| | | | | | | | | | | | | | | | | | | | | This deprecates passing null to non-nullable scale arguments of internal functions, with the eventual goal of making the behavior consistent with userland functions, where null is never accepted for non-nullable arguments. This change is expected to cause quite a lot of fallout. In most cases, calling code should be adjusted to avoid passing null. In some cases, PHP should be adjusted to make some function arguments nullable. I have already fixed a number of functions before landing this, but feel free to file a bug if you encounter a function that doesn't accept null, but probably should. (The rule of thumb for this to be applicable is that the function must have special behavior for 0 or "", which is distinct from the natural behavior of the parameter.) RFC: https://wiki.php.net/rfc/deprecate_null_to_scalar_internal_arg Closes GH-6475.
* Run tidyNikita Popov2020-09-181-2/+2
| | | | | This should fix most of the remaining issues with tabs and spaces being mixed in tests.
* Reindent phpt filesNikita Popov2020-02-031-3/+3
|
* Merge branch 'PHP-7.1' into PHP-7.2Jakub Zelenka2018-06-211-4/+4
|\
| * Make code in openssl ext tests more consistentJakub Zelenka2018-06-211-4/+4
| | | | | | | | | | Mainly use spaces for indent and fix some other CS issues. Also drop checks for unsupported OpenSSL library versions.
* | Merge branch 'PHP-7.1'Jakub Zelenka2017-04-301-1/+1
|\ \ | |/
| * Fix bug #73808 (iv length warning too restrictive for aes-128-ccm)Jakub Zelenka2017-04-301-1/+1
| |
* | Fix indent in opnenssl_decrypt testsJakub Zelenka2016-07-241-3/+3
|/
* Use OPENSSL_RAW_DATA in raw data decryption testsNikita Popov2016-07-221-3/+6
|
* Test error cases in openssl_decrypt for GCM modeJakub Zelenka2016-01-031-1/+13
|
* Add an initial openssl decrypt GCM testJakub Zelenka2015-12-301-0/+36