Skip to content

Remove curl OpenSSL locking and check for min OpenSSL version #18784

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 6, 2025

This modifies the curl config check for old libraries to make sure that PHP is not linked with curl that is linked with OpenSSL 1.1.1. This should not normally happen as it usually use the system library and on most installs PHP is installed with OpenSSL that has got already a check for that. However there is a possibility (when PHP is not using OpenSSL and curl is linked against old version), that this could happen so the check is still there just in case. I simplified it a bit though.

It means that it is possible to remove all the locking checks that are no longer needed.

@bukka bukka requested a review from adoy as a code owner June 6, 2025 13:36
@bukka bukka requested review from petk and adoy and removed request for adoy June 6, 2025 13:37
@bukka bukka changed the title Remove curl OpenSSL locking for unsupported versions Remove curl OpenSSL locking and check for min OpenSSL version Jun 6, 2025
@bukka
Copy link
Member Author

bukka commented Jun 6, 2025

btw. I tested this with different OpenSSL version and doing some tweaks to check if the check works and it seems ok.

Copy link
Member

@petk petk left a comment

Choose a reason for hiding this comment

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

Ok, thanks for following on these issues.

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.

2 participants