[php-src] Issue #13806: openssl_x509_parse_basic test from master fails on Alpine

From: Date: Mon, 25 Mar 2024 21:55:43 +0000
Subject: [php-src] Issue #13806: openssl_x509_parse_basic test from master fails on Alpine
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-246649@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/13806 Author: andypost ### Description Attempted to build current master with the latest upgrades in Alpine (openssl 3.2.1) The following test failed because of 2 extra fields displayed for the cert: ```diff TEST 9775/17324 [ext/openssl/tests//.phpt] ========DIFF======== -- ["signatureTypeNID"]=> int(65) ["purposes"]=> - array(9) { + array(10) { [1]=> array(3) { [0]=> -- [2]=> string(13) "timestampsign" } + [10]=> + array(3) { + [0]=> + bool(false) + [1]=> + bool(true) + [2]=> + string(8) "codesign" + } } ["extensions"]=> array(3) { -- ["signatureTypeNID"]=> int(65) ["purposes"]=> - array(9) { + array(10) { [1]=> array(3) { [0]=> -- bool(true) [2]=> string(18) "Time Stamp signing" + } + [10]=> + array(3) { + [0]=> + bool(false) + [1]=> + bool(true) + [2]=> + string(12) "Code signing" } } ["extensions"]=> -- ========DONE======== FAIL: openssl_x509_parse() tests [ext/openssl/tests/openssl_x509_parse_basic.phpt] ``` ### PHP Version master ### Operating System Alpinelinux

« previous php.bugs (#246649) next »