Skip to content

Remove native SSL support in phar extension #15574

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

petk
Copy link
Member

@petk petk commented Aug 24, 2024

SSL support in phar extension is enabled when the PHP openssl extension is loaded, so there isn't any reason to have a separate native SSL support in phar extension.

This removes the PHAR_HAVE_OPENSSL preprocessor macro from the PHP configuration header and the configure option --enable-phar-native-ssl on Windows. Also, the static libeay32 is not present in Windows OpenSSL builds anymore.

Supersedes and closes GH-14578

SSL support in phar extension is enabled when the PHP openssl extension
is loaded, so there isn't any reason to have a separate native SSL
support in phar extension.

This removes the PHAR_HAVE_OPENSSL preprocessor macro from the PHP
configuration header and the configure option --enable-phar-native-ssl
on Windows. Also, the static libeay32 is not present in Windows OpenSSL
builds anymore.

The duplicate COMPILE_DL_PHAR compile definition is also removed as is
already automatically defined in win32/build/confutils.js by the
EXTENSION() function.

Supersedes and closes phpGH-14578
@petk petk force-pushed the patch-remove-phar-native-ssl branch from 0c9c41e to 719da60 Compare August 25, 2024 15:40
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

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

I am in favour of removing this, but this might require a, hopefully quick, discussion on internals?

@petk
Copy link
Member Author

petk commented Aug 26, 2024

I am in favour of removing this, but this might require a, hopefully quick, discussion on internals?

Sent here: https://news-web.php.net/php.internals/125275

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