summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/openssl/tests/bug62890.phpt3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/openssl/tests/bug62890.phpt b/ext/openssl/tests/bug62890.phpt
index b400b0e5ef..2d38571b65 100644
--- a/ext/openssl/tests/bug62890.phpt
+++ b/ext/openssl/tests/bug62890.phpt
@@ -9,7 +9,8 @@ if (getenv('SKIP_ONLINE_TESTS')) die('skip online test');
default_socket_timeout=-1
--FILE--
<?php
-var_dump((bool) file_get_contents('https://php.net'));
+$clientCtx = stream_context_create(['ssl' => ['verify_peer' => false]]);
+var_dump((bool) file_get_contents('https://www.php.net', false, $clientCtx));
?>
--EXPECT--
bool(true)