mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
Autotools: Remove obsolete crypt link override due to OpenSSL (#14863)
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
This commit is contained in:
parent
3618382d07
commit
745ae8ddd8
@ -1159,13 +1159,6 @@ case $php_sapi_module in
|
||||
esac
|
||||
|
||||
EXTRA_LIBS="$EXTRA_LIBS $DLIBS $LIBS"
|
||||
|
||||
dnl This has to be here to prevent the openssl crypt() from overriding the
|
||||
dnl system provided crypt().
|
||||
if test "$ac_cv_lib_crypt_crypt" = "yes"; then
|
||||
EXTRA_LIBS="-lcrypt $EXTRA_LIBS -lcrypt"
|
||||
fi
|
||||
|
||||
unset LIBS
|
||||
|
||||
dnl PEAR
|
||||
|
Loading…
Reference in New Issue
Block a user