summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Zelenka <bukka@php.net>2019-05-05 21:04:28 +0100
committerJakub Zelenka <bukka@php.net>2019-05-05 21:04:28 +0100
commit9977de00284c2b702e4aadfcc66069befa0aaf75 (patch)
tree704ff4402325b4294eb11d4887bae2680170b558
parent1210c3b9608fe3d0534d3abc8d5381c5d67048a3 (diff)
downloadphp-git-9977de00284c2b702e4aadfcc66069befa0aaf75.tar.gz
Fix OpenSSL online test for ca context
The php.net is redirected to https so use nginx.org
-rw-r--r--ext/openssl/tests/bug65538_002.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/tests/bug65538_002.phpt b/ext/openssl/tests/bug65538_002.phpt
index 7dddb12564..2a06d2d1b6 100644
--- a/ext/openssl/tests/bug65538_002.phpt
+++ b/ext/openssl/tests/bug65538_002.phpt
@@ -13,7 +13,7 @@ $clientCtx = stream_context_create(['ssl' => [
// We can't use http://curl.haxx.se/ca/cacert.pem for this test
// as it is redirected to https which means the test would depend
// on system cafile when opening stream.
- 'cafile' => 'http://www.php.net',
+ 'cafile' => 'http://www.nginx.org',
]]);
file_get_contents('https://github.com', false, $clientCtx);
?>