[php-src] PR #15713: Support --with-openssl-argon2 on Windows
| From: | cmb69 | Date: | Mon, 02 Sep 2024 16:09:22 +0000 |
| Subject: | [php-src] PR #15713: Support --with-openssl-argon2 on Windows | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28358@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15713
Author: cmb69
We change the error for ZTS builds to a warning, to not break snapshot builds which automatically
will try to enable OpenSSL password hashing.
We also change some messages to better fit building on Windows.
And of course, we cannot easily check whether
OSSL_set_max_threads() is actually
available; instead we're looking up the function declaration in its header file.
---
Note that we're still using OpenSSL 3.0 for the master branch, so even if
attempted, enabling of OpenSSL argon2 password hashing is not supposed to work (besides that in
regular CI we only test ZTS builds). I tested locally with OpenSSL 3.2.2, though, and everything
appears to be fine.
While not directly related to this PR, we should consider to update our OpenSSL on Windows. PHP 8.4
is supposed to be supported until 31st Dec 2028, but OpenSSL 3.0 will only be supported until 7th
September 2026. This might even be an issue for PHP 8.3. Unfortunately, even OpenSSL 3.3 support
ends on 9th April 2026 (thus even earlier than 3.0), but we likely need to update to more recent
OpenSSL minor versions. Maybe you can comment about the stability, @bukka.
cc @remicollet since you implemented the feature (thanks!)