summaryrefslogtreecommitdiffstats
path: root/plugins/check_curl.c
diff options
context:
space:
mode:
authorBarak Shohat <barak@bazzisoft.com>2021-05-24 10:42:43 (GMT)
committerBarak Shohat <barak@bazzisoft.com>2021-05-24 11:53:58 (GMT)
commit63cb7ecfcf8d5b6c9f2be704eee7fa7cd9216f88 (patch)
tree499396380a531826f97c855c592cba2108e697ee /plugins/check_curl.c
parent6946b546feb9635413932861c4256f0067846860 (diff)
downloadmonitoring-plugins-63cb7ecfcf8d5b6c9f2be704eee7fa7cd9216f88.tar.gz
check_curl.c: bugfix: verify certificates option should not force SSL to be usedrefs/pull/1688/head
Diffstat (limited to 'plugins/check_curl.c')
-rw-r--r--plugins/check_curl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index 3e0a6f9..d29db0a 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -1346,7 +1346,7 @@ process_arguments (int argc, char **argv)
1346#ifdef LIBCURL_FEATURE_SSL 1346#ifdef LIBCURL_FEATURE_SSL
1347 case 'D': /* verify peer certificate & host */ 1347 case 'D': /* verify peer certificate & host */
1348 verify_peer_and_host = TRUE; 1348 verify_peer_and_host = TRUE;
1349 goto enable_ssl; 1349 break;
1350#endif 1350#endif
1351 case 'S': /* use SSL */ 1351 case 'S': /* use SSL */
1352#ifdef LIBCURL_FEATURE_SSL 1352#ifdef LIBCURL_FEATURE_SSL