Skip to content

ext/phar: split calling openssl_verify and openssl_sign functions#21836

Open
Girgias wants to merge 1 commit intophp:masterfrom
Girgias:2026-04-phar-sign-shared-openssl
Open

ext/phar: split calling openssl_verify and openssl_sign functions#21836
Girgias wants to merge 1 commit intophp:masterfrom
Girgias:2026-04-phar-sign-shared-openssl

Conversation

@Girgias
Copy link
Copy Markdown
Member

@Girgias Girgias commented Apr 23, 2026

The only thing vaguely similar is the setting up of arguments, and even that is not identical due to the by-ref arg for openssl_sign().

Splitting makes the code more legible, as we can add const qualifiers and use a zend_string directly, reducing allocations

The only thing vaguely similar is the setting up of arguments, and even that is not identical due to the by-ref arg for openssl_sign().

Splitting makes the code more legible, as we can add const qualifiers and use a zend_string directly, reducing allocations
@Girgias Girgias requested a review from ndossche April 23, 2026 11:10
@Girgias Girgias marked this pull request as ready for review April 23, 2026 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant