Skip to content

[pull] master from php:master#1044

Merged
pull[bot] merged 3 commits into
turkdevops:masterfrom
php:master
Jun 28, 2026
Merged

[pull] master from php:master#1044
pull[bot] merged 3 commits into
turkdevops:masterfrom
php:master

Conversation

@pull

@pull pull Bot commented Jun 28, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

petk and others added 3 commits June 28, 2026 19:36
The following macros are either defined (to 1) or undefined:

* HAVE_CLOCK_GETTIME_NSEC_NP
* HAVE_SYS_POLL_H
* HAVE_SYS_WAIT_H
* HAVE_TZSET
* HAVE_WIFCONTINUED
Convert the ext/openssl stream messages to the new stream error API so they
honour the context error_mode/store like the other converted streams.

All messages emitted while a stream error operation is open must go through
the new API, otherwise mixing immediate php_error_docref() with buffered
reporting reorders the output. This required emitting "Accept failed" via
php_stream_warn() (adding StreamErrorCode::AcceptFailed) and threading a
php_stream* through php_openssl_check_path_ex() (NULL for non-stream callers).

Fingerprint changes: refactor php_openssl_x509_fingerprint_cmp() into an
'is equal' variant using zend_string; make php_openssl_x509_fingerprint_match()
warn on all failure cases to avoid double warnings; thread a php_stream* into
php_openssl_x509_fingerprint() so it reports through the operation, and demote
its internal "Could not generate signature" failure from E_ERROR to a warning.

Co-authored-by: Jakub Zelenka <bukka@php.net>
And clean-up usage sites as some of them shouldn't even be possible in the first place
@pull pull Bot locked and limited conversation to collaborators Jun 28, 2026
@pull pull Bot added the ⤵️ pull label Jun 28, 2026
@pull pull Bot merged commit 895c2af into turkdevops:master Jun 28, 2026
1 of 3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants