From 270e8942a808ce454b7be62321a1c066bcbee16a Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Date: Sat, 23 Mar 2024 18:06:00 +0100 Subject: [PATCH] Remove obsolete OpenSSL code in ext/ftp MINIT Follow-up on GH-13498. These functions inside this #if block are either deprecated or do nothing anymore on OpenSSL versions >= 1.1.0. --- ext/ftp/php_ftp.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c index 2f0f2b0d64198..11763acbd1709 100644 --- a/ext/ftp/php_ftp.c +++ b/ext/ftp/php_ftp.c @@ -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;