[php-src] PR #13262: Fix linking ext/curl against OpenSSL
| From: | petk | Date: | Sun, 28 Jan 2024 15:13:48 +0000 |
| Subject: | [php-src] PR #13262: Fix linking ext/curl against OpenSSL | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24909@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13262
Author: petk
Following 68f6ab711323678382d2746e57358d3f57a3446b, 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 old SSL crypto lock check was detected here.
This also uses a common PHP_SETUP_OPENSSL macro for checking OpenSSL and syncs the minimum OpenSSL
version across the PHP build system.
Currently, PHP requires OpenSSL version 1.0.2 or later. Once the OpenSSL minimum version is 1.1 or
later, this check can be removed and the code for using the crypto locking callbacks.