[php-src] Issue #20251: Broken openssl tests on 8.2

From: Date: Mon, 20 Oct 2025 23:01:06 +0000
Subject: [php-src] Issue #20251: Broken openssl tests on 8.2
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-251095@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/20251 Author: iluuu1994 ### Description The following tests are skipped on PHP 8.2 on Windows for now: https://github.com/php/php-src/actions/runs/18639444525/job/53135587824 https://github.com/php/php-src/commit/1bfe9340b722145be2f82b5880a28ba2b2ee0ba0 ``` ========DIFF======== 001+ Warning: Trying to access array offset on value of type bool in D:\a\php-src\php-src\ext\openssl\tests\bug74341.php on line 42 002+ NULL 001- int(1389052800) 002- int(1459494000) 003+ 004+ Warning: Trying to access array offset on value of type bool in D:\a\php-src\php-src\ext\openssl\tests\bug74341.php on line 43 005+ NULL ========DONE======== FAIL Bug #74341 (openssl_x509_parse fails to parse ASN.1 UTCTime without seconds) [D:\a\php-src\php-src\ext\openssl\tests\bug74341.phpt] ========DIFF======== -- ["signatureTypeNID"]=> int(65) ["purposes"]=> 054+ array(10) { 054- array(9) { [1]=> array(3) { [0]=> -- bool(true) [2]=> string(13) "timestampsign" 136+ [10]=> 137+ array(3) { 138+ [0]=> 139+ bool(false) 140+ [1]=> 141+ bool(true) 142+ [2]=> 143+ string(8) "codesign" 144+ } } ["extensions"]=> array(3) { -- ["signatureTypeNID"]=> int(65) ["purposes"]=> 210+ array(10) { 201- array(9) { [1]=> array(3) { [0]=> -- bool(true) [2]=> string(18) "Time Stamp signing" 292+ [10]=> 293+ array(3) { 294+ [0]=> 295+ bool(false) 296+ [1]=> 297+ bool(true) 298+ [2]=> 299+ string(12) "Code signing" 300+ } } ["extensions"]=> array(3) { -- ========DONE======== FAIL openssl_x509_parse() tests [D:\a\php-src\php-src\ext\openssl\tests\openssl_x509_parse_basic.phpt] ``` ### PHP Version ```plain PHP 8.2 ``` ### Operating System _No response_

« previous php.bugs (#251095) next »