php / php/php-src

Broken openssl tests on 8.2

未关闭
#20,251 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@bukka 已经在做这个了。

开始于 2025年10月20日。

Bug Extension: openssl Status: Verified
主要语言
C
星标
40.4k
派生
8.1k
平均合并
2 天 13 小时
30 天内合并 PR
96

描述

Description

The following 3 tests are skipped on PHP 8.2 on Windows for now:

https://github.com/php/php-src/actions/runs/18639444525/job/53135587824

========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========
001+ string(46) "c:\program files\common files\ssl\\openssl.cnf"
001- string(%d) "c:\program files%r( \(x86\)|)%r\common files\ssl\openssl.cnf"
========DONE========
FAIL Check for default OpenSSL config path on Windows [D:\a\php-src\php-src\ext\openssl\tests\check_default_conf_path.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
PHP 8.2
Operating System

No response

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。