1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Remove obsolete OpenSSL code in ext/ftp MINIT (#13793)

Follow-up on GH-13498.
These functions inside this #if block are either deprecated
or do nothing anymore on OpenSSL versions >= 1.1.0.
This commit is contained in:
Niels Dossche
2024-03-23 19:32:44 +01:00
committed by GitHub
parent a4534fafac
commit 93d3ae28e1

View File

@@ -99,15 +99,6 @@ static void ftp_object_destroy(zend_object *zobj) {
PHP_MINIT_FUNCTION(ftp)
{
#if defined(HAVE_FTP_SSL) && !defined(LIBRESSL_VERSION_NUMBER)
SSL_library_init();
OpenSSL_add_all_ciphers();
OpenSSL_add_all_digests();
OpenSSL_add_all_algorithms();
SSL_load_error_strings();
#endif
php_ftp_ce = register_class_FTP_Connection();
php_ftp_ce->create_object = ftp_object_create;