summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-08-06 13:18:29 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-08-10 11:43:49 +0200
commit80d3ce3d19cb3df5ad9802d852a6bee831cb03ab (patch)
tree05f3582627ddfa9f954dd0f8665136481f251b3d /sapi/cli/php_cli.c
parente81ad4089e7435bec8dc075089e9c47851b8ddb7 (diff)
downloadphp-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