[php-src] PR #24083: openssl: Rename `OpenSSLSession` references to `Openssl\Session`
| From: | adapik | Date: | Fri, 02 Oct 2026 18:39:24 +0000 |
| Subject: | [php-src] PR #24083: openssl: Rename `OpenSSLSession` references to `Openssl\Session` | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-39090@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/24083
Author: adapik
The session class is registered as
Openssl\Session (the name chosen in the secondary
vote of the [TLS session resumption
RFC](https://wiki.php.net/rfc/tls_session_resumption_api#opensslsession_class)), but several
messages still referred to the original OpenSSLSession name. For example, new Openssl\Session()
threw:
Cannot directly construct OpenSSLSession, use OpenSSLSession::import() or TLS session callbacks
where OpenSSLSession::import() does not exist.