[php-src] PR #25849: Fix GH-25667: LibreSSL build broken since PHP 8.6
| From: | bukka | Date: | Fri, 27 Nov 2026 18:30:06 +0000 |
| Subject: | [php-src] PR #25849: Fix GH-25667: LibreSSL build broken since PHP 8.6 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-41133@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25849
Author: bukka
LibreSSL does not implement TLS 1.3 external PSK nor early data and it also defines OPENSSL_NO_PSK
so the functions used by the PSK and early data stream context options are not available there.
The TLS 1.3 PSK code is now compiled only if supported and psk_client_cb and psk_server_cb options
fail with a stream error if the linked library has no PSK support at all. The early data options are
silently ignored as early data are never guaranteed to be accepted.
Tests depending on PSK, early data and TLS 1.3 session resumption are skipped for LibreSSL.