Skip to content

Update ext/sodium preprocessor macro help texts #15270

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

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

petk
Copy link
Member

@petk petk commented Aug 7, 2024

This is one of the left overs for PHP-8.4 because the ext/sodium/php_libsodium.h header is installed as of PHP-8.4.

The sodium extension was initially named "libsodium" in PECL and was renamed to sodium when it was bundled to php-src. The HAVE_LIBSODIUMLIB symbol here could indicate that PHP extension sodium is available.

Otherwise this macro is not used in the current code base. Should perhaps this one be removed or renamed? Or should even the php_libsodium.h be removed from the installed headers?

The sodium extension was initially named "libsodium" in PECL and was
renamed to sodium when it was bundled to php-src. The HAVE_LIBSODIUMLIB
symbol here could indicate that PHP extension sodium is available.

Otherwise the macro is not used in the current code base. Header
php_libsodium.h became "installed"/public as of PHP-8.4.

[skip ci]
@petk petk merged commit f661223 into php:master Aug 8, 2024
3 checks passed
@petk petk deleted the patch-AC_DEFINE-sodium branch August 8, 2024 06:27
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