com php-src: Fix OpenSSL online test for ca context: ext/openssl/tests/bug65538_002.phpt
| From: | Jakub Zelenka | Date: | Sun, 05 May 2019 20:04:28 +0000 |
| Subject: | com php-src: Fix OpenSSL online test for ca context: ext/openssl/tests/bug65538_002.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-106035@lists.php.net to get a copy of this message | ||
Commit: 9977de00284c2b702e4aadfcc66069befa0aaf75
Author: Jakub Zelenka <bukka@php.net> Sun, 5 May 2019 21:04:28 +0100
Parents: 1210c3b9608fe3d0534d3abc8d5381c5d67048a3
Branches: PHP-7.2
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9977de00284c2b702e4aadfcc66069befa0aaf75
Log:
Fix OpenSSL online test for ca context
The php.net is redirected to https so use nginx.org
Changed paths:
M ext/openssl/tests/bug65538_002.phpt
Diff:
diff --git a/ext/openssl/tests/bug65538_002.phpt b/ext/openssl/tests/bug65538_002.phpt
index 7dddb12..2a06d2d 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);
?>