[php-src] PR #14863: Autotools: Remove obsolete crypt link override due to OpenSSL
| From: | petk | Date: | Sun, 07 Jul 2024 20:20:42 +0000 |
| Subject: | [php-src] PR #14863: Autotools: Remove obsolete crypt link override due to OpenSSL | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-27114@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14863
Author: petk
OpenSSL versions before 0.9.7 provided its own crypt() function (and des_* functions) in its Crypto
library that interfered with the implementation relying on crypt() from some other crypt library.
This is at this point obsolete as crypt and other functions that caused clashes were removed in
OpenSSL version 1.1.0.
In OpenSSL 0.9.7 des_old.c and des_old.h files were provided for BC.
In OpenSSL 0.9.8 crypt() function was renamed to _ossl_old_crypt and the crypt macro definition was
commented out in the des_old.h header.
In OpenSSL 1.1.0 the old DES API was removed, meaning OpenSSL's crypto library no longer
provides crypt() function as it used to.
References:
- Some further historic notes on this: https://www.openldap.org/faq/data/cache/1041.html
- OpenSSL Git commit history and changelogs