Skip to content

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
@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