Skip to content

Conversation

@thg2k
Copy link
Contributor

@thg2k thg2k commented Dec 21, 2025

OpenSSL v1.1.0 renamed EVP_MD_CTX_(create|init|destroy) to EVP_MD_CTX_(new|reset|free) but full support for the old names is present via #defines.

Moreover, in the same file and in the openssl extension the older names are still in use.

As this is the only thing breaking build of PHP 8.3 branch on legacy systems (since 8.3.26), and as there is no harm in just using the older name, just use them and let people build 😄

@thg2k
Copy link
Contributor Author

thg2k commented Dec 21, 2025

As a reference, this was broken in PR #19563

@devnexen devnexen requested a review from Girgias December 21, 2025 15:35
Copy link
Member

@ndossche ndossche left a comment

Choose a reason for hiding this comment

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

Hm, and indeed to this date it still defines these aliases.
LGTM. Thanks.

@ndossche ndossche closed this in f89a350 Dec 21, 2025
@Girgias Girgias removed their request for review December 21, 2025 23:22
@thg2k
Copy link
Contributor Author

thg2k commented Dec 22, 2025

Thank you for the note in the NEWS file but I really don't think it's necessary... Besides me and perhaps a handful more people in the world, nobody cares about this 😆

@thg2k thg2k deleted the pr/phar_util_openssl_fix branch December 22, 2025 09:59
@ndossche
Copy link
Member

Thank you for the note in the NEWS file but I really don't think it's necessary... Besides me and perhaps a handful more people in the world, nobody cares about this 😆

Well, you still should get credit for your effort

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