diff options
| author | Ben Fuhrmannek | 2021-02-16 11:16:59 +0100 |
|---|---|---|
| committer | Ben Fuhrmannek | 2021-02-16 11:16:59 +0100 |
| commit | 5484bcb5eb2714e7438927e2566c86a74d7c51af (patch) | |
| tree | b78326d2999397be4c08e06b23209981f82a4ea9 /src/tests/disable_function/disabled_function_ensure_server_valid_certs.phpt | |
| parent | 7ac1e3866ef4f146c6c93a5ca13b9aebb14e936a (diff) | |
| parent | cecfdd808da67be908dbe7144cc8c74dfb3f855e (diff) | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/tests/disable_function/disabled_function_ensure_server_valid_certs.phpt')
| -rw-r--r-- | src/tests/disable_function/disabled_function_ensure_server_valid_certs.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/disable_function/disabled_function_ensure_server_valid_certs.phpt b/src/tests/disable_function/disabled_function_ensure_server_valid_certs.phpt index fa583b0..6e027de 100644 --- a/src/tests/disable_function/disabled_function_ensure_server_valid_certs.phpt +++ b/src/tests/disable_function/disabled_function_ensure_server_valid_certs.phpt | |||
| @@ -2,8 +2,8 @@ | |||
| 2 | Disable functions - Ensure that server certificates validation can't be disabled | 2 | Disable functions - Ensure that server certificates validation can't be disabled |
| 3 | --SKIPIF-- | 3 | --SKIPIF-- |
| 4 | <?php | 4 | <?php |
| 5 | if (!extension_loaded("snuffleupagus")) { die("skip"); } | 5 | if (!extension_loaded("snuffleupagus")) { print("skip"); } |
| 6 | if (!extension_loaded("curl")) { die("skip"); } | 6 | if (!extension_loaded("curl")) { print("skip"); } |
| 7 | ?> | 7 | ?> |
| 8 | --EXTENSIONS-- | 8 | --EXTENSIONS-- |
| 9 | curl | 9 | curl |
| @@ -17,4 +17,4 @@ curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, '0'); | |||
| 17 | echo "1337"; | 17 | echo "1337"; |
| 18 | ?> | 18 | ?> |
| 19 | --EXPECTF-- | 19 | --EXPECTF-- |
| 20 | Fatal error: [snuffleupagus][0.0.0.0][disabled_function] Aborted execution on call of the function 'curl_setopt', because its argument '$option' content (81) matched the rule 'Please don't turn CURLOPT_SSL_VERIFYHOST off.' in %s/disabled_function_ensure_server_valid_certs.php on line %d | 20 | Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'curl_setopt', because its argument '$option' content (81) matched the rule 'Please don't turn CURLOPT_SSL_VERIFYHOST off.' in %s/disabled_function_ensure_server_valid_certs.php on line %d |
