Skip to content

Introduce OpenSSL INI for selecting libctx #18768

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bukka
Copy link
Member

@bukka bukka commented Jun 4, 2025

This introduces a new INI that will allow fallback to default ctx. The plan is to actually initially use custom libctx only on ZTS by default and keep the default one for non-zts. The reason why it's not done in this PR is to allow CI to test the custom libctx.

In addition custom libctx now loads the config and also legacy provider if LOAD_OPENSSL_LEGACY_PROVIDER defined.

There's been some minor init / globals refactoring done as well.

@bukka bukka marked this pull request as ready for review June 4, 2025 20:51
bukka added a commit to bukka/php-src that referenced this pull request Jun 5, 2025
@bukka bukka force-pushed the openssl_libctx_ini branch from 7e4e08c to cef6444 Compare June 5, 2025 17:44
@bukka bukka force-pushed the openssl_libctx_ini branch from 80a6cc6 to a79048d Compare June 20, 2025 12:08
bukka added a commit to bukka/php-src that referenced this pull request Jun 20, 2025
Closes phpGH-18768

Co-authored-by: Gina Peter Banyard <girgias@php.net>
Closes phpGH-18768

Co-authored-by: Gina Peter Banyard <girgias@php.net>
@bukka bukka force-pushed the openssl_libctx_ini branch from a79048d to 4df6f23 Compare June 20, 2025 13:30
SakiTakamachi
SakiTakamachi previously approved these changes Jun 20, 2025
@SakiTakamachi SakiTakamachi dismissed their stale review June 20, 2025 14:40

Are the failing tests related to this change?

Copy link
Member

@SakiTakamachi SakiTakamachi left a comment

Choose a reason for hiding this comment

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

It’s also failing on the master, so it doesn’t seem to be related.

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