Skip to content

Commit d7341dc

Browse files
committed
t
1 parent 46939bb commit d7341dc

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

ext/curl/tests/curl_native_ca.phpt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ fail by default. Curl >= 7.71.0 has a CURLOPT_SSL_OPTIONS = CURLSSLOPT_NATIVE_CA
88
to Windows root CA store.
99
--SKIPIF--
1010
<?php
11-
if (getenv("SKIP_ONLINE_TESTS")) die("skip online test");
12-
$curl_version = curl_version();
13-
if ($curl_version['version_number'] < 0x074700) {
14-
die("skip: test works only with curl >= 7.71.0");
11+
12+
// if (getenv("SKIP_ONLINE_TESTS")) die("skip online test");
13+
14+
if (curl_version()['version_number'] < 0x074700) {
15+
// die("skip: test works only with curl >= 7.71.0");
1516
}
16-
?>
17-
--INI--
1817

18+
?>
1919
--FILE--
2020
<?php
2121
$ch = curl_init('https://sha256.badssl.com/');
@@ -30,6 +30,7 @@ if ($curl_version['version_number'] < 0x074700) {
3030
curl_exec($ch);
3131
var_dump(curl_getinfo($ch, CURLINFO_SSL_VERIFYRESULT));
3232
var_dump(ini_get('curl.cainfo'));
33+
var_dump(curl_version());
3334
?>
3435
--EXPECT--
3536
int(0)

0 commit comments

Comments
 (0)