diff options
author | Barak Shohat <barak@bazzisoft.com> | 2021-05-24 13:42:43 +0300 |
---|---|---|
committer | Barak Shohat <barak@bazzisoft.com> | 2021-05-24 14:53:58 +0300 |
commit | 63cb7ecfcf8d5b6c9f2be704eee7fa7cd9216f88 (patch) | |
tree | 499396380a531826f97c855c592cba2108e697ee /plugins/t | |
parent | 6946b546feb9635413932861c4256f0067846860 (diff) | |
download | monitoring-plugins-63cb7ecfcf8d5b6c9f2be704eee7fa7cd9216f88.tar.gz |
check_curl.c: bugfix: verify certificates option should not force SSL to be used
Diffstat (limited to 'plugins/t')
-rw-r--r-- | plugins/t/check_curl.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/check_curl.t b/plugins/t/check_curl.t index 45ee5339..ada6a045 100644 --- a/plugins/t/check_curl.t +++ b/plugins/t/check_curl.t | |||
@@ -95,7 +95,7 @@ SKIP: { | |||
95 | $res = NPTest->testCmd("./$plugin -v -H $host_tls_http:443 -S -p 443"); | 95 | $res = NPTest->testCmd("./$plugin -v -H $host_tls_http:443 -S -p 443"); |
96 | like( $res->output, '/^Host: '.$host_tls_http.'\s*$/ms', "Host Header OK" ); | 96 | like( $res->output, '/^Host: '.$host_tls_http.'\s*$/ms', "Host Header OK" ); |
97 | 97 | ||
98 | $res = NPTest->testCmd("./$plugin -v -H $host_tls_http -D -p 443"); | 98 | $res = NPTest->testCmd("./$plugin -v -H $host_tls_http -D -S -p 443"); |
99 | like( $res->output, '/(^Host: '.$host_tls_http.'\s*$)|(cURL returned 60)/ms', "Host Header OK" ); | 99 | like( $res->output, '/(^Host: '.$host_tls_http.'\s*$)|(cURL returned 60)/ms', "Host Header OK" ); |
100 | }; | 100 | }; |
101 | 101 | ||