mirror of
https://github.com/php/php-src.git
synced 2026-03-25 16:52:18 +01:00
This is backport for 8.3 ofb222c020bfthat originally targeted only 8.4+. This is however a bug fix. Following68f6ab7113, the ext/curl doesn't need to be linked against OpenSSL anymore, if curl_version_info_data ssl_version is OpenSSL/1.1 or later. With OpenSSL 3 and later the check for old SSL crypto locking callbacks was detected here. This also uses a common PHP_SETUP_OPENSSL macro for checking OpenSSL and syncs the minimum OpenSSL version (currently 1.0.2 or later) across the PHP build system.