diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2021-11-17 16:57:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-17 16:57:00 (GMT) |
commit | ad45727dbe03fae94ed2a7ac26ca828fe0fa6264 (patch) | |
tree | 450128f815d3dfb7e70f8038725dd086f8880285 /plugins/check_curl.c | |
parent | 024d268386353133af1a9ff5c0b5879397c19b1c (diff) | |
parent | 63cb7ecfcf8d5b6c9f2be704eee7fa7cd9216f88 (diff) | |
download | monitoring-plugins-ad45727dbe03fae94ed2a7ac26ca828fe0fa6264.tar.gz |
Merge pull request #1688 from bazzisoft/master
check_curl.c: bugfix: verify certificates option should not force SSL to be used
Diffstat (limited to 'plugins/check_curl.c')
-rw-r--r-- | plugins/check_curl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_curl.c b/plugins/check_curl.c index 5990b95..14cc846 100644 --- a/plugins/check_curl.c +++ b/plugins/check_curl.c | |||
@@ -1422,7 +1422,7 @@ process_arguments (int argc, char **argv) | |||
1422 | #ifdef LIBCURL_FEATURE_SSL | 1422 | #ifdef LIBCURL_FEATURE_SSL |
1423 | case 'D': /* verify peer certificate & host */ | 1423 | case 'D': /* verify peer certificate & host */ |
1424 | verify_peer_and_host = TRUE; | 1424 | verify_peer_and_host = TRUE; |
1425 | goto enable_ssl; | 1425 | break; |
1426 | #endif | 1426 | #endif |
1427 | case 'S': /* use SSL */ | 1427 | case 'S': /* use SSL */ |
1428 | #ifdef LIBCURL_FEATURE_SSL | 1428 | #ifdef LIBCURL_FEATURE_SSL |