Skip to content

Commit 80d3ce3

Browse files
committed
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.
1 parent e81ad40 commit 80d3ce3

File tree

1 file changed

+83
-129
lines changed

1 file changed

+83
-129
lines changed

0 commit comments

Comments
 (0)