Skip to content

ext/openssl: Rename OpenSSLSession references to Openssl\Session - #24083

Open
adapik wants to merge 1 commit into
php:PHP-8.6from
adapik:fix-openssl-session-classname
Open

adapik wants to merge 1 commit into
php:PHP-8.6from
adapik:fix-openssl-session-classname

Conversation

@adapik

@adapik adapik commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

The session class is registered as Openssl\Session (the name chosen in the secondary vote of the TLS session resumption RFC), 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.

@adapik
adapik requested a review from bukka as a code owner October 2, 2026 18:39
@adapik adapik changed the title openssl: Rename OpenSSLSession references to Openssl\Session ext/openssl: Rename OpenSSLSession references to Openssl\Session Oct 2, 2026

@TimWolla TimWolla left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

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.

3 participants