Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid PHP warnings about undefined array keys when sanitizing malform…
…ed PEMs (#556) * Avoid PHP warnings about undefined indexes when sanitizing malformed PEMs * Add test for loading invalid PEM key A new test function was added in ECKeysTest.php to handle cases of loading invalid PEM keys. An InvalidArgumentException is expected to be thrown with a specific error message when an invalid private PEM key is loaded. --------- Co-authored-by: Florent Morselli <florent.morselli@spomky-labs.com>
- Loading branch information