diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-08-06 13:18:29 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-08-10 11:43:49 +0200 |
commit | 80d3ce3d19cb3df5ad9802d852a6bee831cb03ab (patch) | |
tree | 05f3582627ddfa9f954dd0f8665136481f251b3d /sapi/cli/php_cli.c | |
parent | e81ad4089e7435bec8dc075089e9c47851b8ddb7 (diff) | |
download | php-git-80d3ce3d19cb3df5ad9802d852a6bee831cb03ab.tar.gz |
Improve X509_PKEY management in OpenSSL
Remove the free_pkey argument from php_openssl_pkey_from_zval,
instead return an EVP_PKEY that always needs to be freed
(by incrementing refcount if necessary).
This makes the code simpler and fixes a number of bugs in the
existing handling.
Closes GH-5946.
Diffstat (limited to 'sapi/cli/php_cli.c')
0 files changed, 0 insertions, 0 deletions