Skip to content

Commit 93d3ae2

Browse files
authored
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.
1 parent a4534fa commit 93d3ae2

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

ext/ftp/php_ftp.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,6 @@ static void ftp_object_destroy(zend_object *zobj) {
9999

100100
PHP_MINIT_FUNCTION(ftp)
101101
{
102-
#if defined(HAVE_FTP_SSL) && !defined(LIBRESSL_VERSION_NUMBER)
103-
SSL_library_init();
104-
OpenSSL_add_all_ciphers();
105-
OpenSSL_add_all_digests();
106-
OpenSSL_add_all_algorithms();
107-
108-
SSL_load_error_strings();
109-
#endif
110-
111102
php_ftp_ce = register_class_FTP_Connection();
112103
php_ftp_ce->create_object = ftp_object_create;
113104

0 commit comments

Comments
 (0)