[php-src] master: Remove obsolete OpenSSL code in ext/ftp MINIT (#13793)

From: Date: Sat, 23 Mar 2024 18:32:48 +0000
Subject: [php-src] master: Remove obsolete OpenSSL code in ext/ftp MINIT (#13793)
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-127837@lists.php.net to get a copy of this message
Author: Niels Dossche (nielsdos) Committer: GitHub (web-flow) Pusher: nielsdos Date: 2024-03-23T19:32:44+01:00 Commit: https://github.com/php/php-src/commit/93d3ae28e1dcbb7994b104c208ab1310828775c6 Raw diff: https://github.com/php/php-src/commit/93d3ae28e1dcbb7994b104c208ab1310828775c6.diff 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. Changed paths: M ext/ftp/php_ftp.c Diff: 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;

« previous php.cvs (#127837) next »