[php-src] master: Merge branch 'PHP-8.4' into PHP-8.5
| From: | Weilin Du | Date: | Sun, 16 Aug 2026 17:07:57 +0000 |
| Subject: | [php-src] master: Merge branch 'PHP-8.4' into PHP-8.5 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-140763@lists.php.net to get a copy of this message | ||
Author: Weilin Du (LamentXU123)
Date: 2026-08-17T01:05:38+08:00
Commit: https://github.com/php/php-src/commit/bf22afdcc30fe5dc58196312ca212866257126f9
Raw diff: https://github.com/php/php-src/commit/bf22afdcc30fe5dc58196312ca212866257126f9.diff
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
ext/zip: Fix AES-192 and AES-256 support reporting in phpinfo() (#23319)
Changed paths:
M ext/zip/php_zip.c
Diff:
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c
index 2ee9f57129ec..6071f065f51b 100644
--- a/ext/zip/php_zip.c
+++ b/ext/zip/php_zip.c
@@ -3289,9 +3289,9 @@ static PHP_MINFO_FUNCTION(zip)
php_info_print_table_row(2, "AES-128 encryption",
zip_encryption_method_supported(ZIP_EM_AES_128, 1) ? "Yes" : "No");
php_info_print_table_row(2, "AES-192 encryption",
- zip_encryption_method_supported(ZIP_EM_AES_128, 1) ? "Yes" : "No");
+ zip_encryption_method_supported(ZIP_EM_AES_192, 1) ? "Yes" : "No");
php_info_print_table_row(2, "AES-256 encryption",
- zip_encryption_method_supported(ZIP_EM_AES_128, 1) ? "Yes" : "No");
+ zip_encryption_method_supported(ZIP_EM_AES_256, 1) ? "Yes" : "No");
#endif
php_info_print_table_end();