Skip to content

ext/openssl: convert stream E_WARNINGs to new stream error API #22318

Open
Girgias wants to merge 4 commits into
php:masterfrom
Girgias:2026-06-openssl-stream-error-conv
Open

ext/openssl: convert stream E_WARNINGs to new stream error API #22318
Girgias wants to merge 4 commits into
php:masterfrom
Girgias:2026-06-openssl-stream-error-conv

Conversation

@Girgias

@Girgias Girgias commented Jun 15, 2026

Copy link
Copy Markdown
Member

No description provided.

Girgias added 4 commits June 18, 2026 15:35
Use sites only care if the string matches, thus change the function to be an 'is equal' variant.
Also use a zend_string* rather than a char* so that we can use the zend_string equals API.
…ilure cases

This prevents some instance of double warnings
@Girgias Girgias force-pushed the 2026-06-openssl-stream-error-conv branch from 365b3d0 to 72675f2 Compare June 18, 2026 14:40
@Girgias Girgias changed the title W.I.P. convert ext/openssl stream to stream error API ext/openssl: convert stream E_WARNINGs to new stream error API Jun 18, 2026
@Girgias Girgias marked this pull request as ready for review June 18, 2026 14:55
@Girgias Girgias requested review from bukka and kocsismate as code owners June 18, 2026 14:55
@Girgias

Girgias commented Jun 18, 2026

Copy link
Copy Markdown
Member Author

@bukka I have no idea why the test output is different depending on platform. Can you have a look, as me continuing to work on this feels pointless.

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