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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user