[php-src] Issue #19925: PHP 8.5 started to fail ext/curl/tests/curl_setopt_ssl.phpt on alpinelinux with curl 8.16

From: Date: Mon, 22 Sep 2025 19:53:48 +0000
Subject: [php-src] Issue #19925: PHP 8.5 started to fail ext/curl/tests/curl_setopt_ssl.phpt on alpinelinux with curl 8.16
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-250886@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/19925 Author: andypost ### Description The following test fail on every arch even for beta3 ``` TEST 1/1 [ext/curl/tests/curl_setopt_ssl.phpt] ========DIFF======== -- bool(true) bool(true) client cert subject not in response 022- CURL ERROR: 58 022+ CURL ERROR: 43 case 4: client cert and key from file ``` when I added message: ``` -- bool(true) bool(true) client cert subject not in response 022- CURL ERROR: 58 022+ CURL ERROR: 43unable to set private key file: '(memory blob)' type PEM case 4: client cert and key from file bool(true) ``` Looks like replacing ```diff - var_dump(curl_setopt($ch, CURLOPT_SSLCERT_BLOB, $clientCert)); + var_dump(curl_setopt($ch, CURLOPT_SSLCERT_BLOB, '')); var_dump(curl_setopt($ch, CURLOPT_SSLKEY_BLOB, '')); ``` allows the test to pass ### PHP Version ```plain PHP 8.5.0beta3 ``` ### Operating System Alpinelinux

« previous php.bugs (#250886) next »