diff options
-rw-r--r-- | plugins/check_curl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_curl.c b/plugins/check_curl.c index 2f58305..db1e9c5 100644 --- a/plugins/check_curl.c +++ b/plugins/check_curl.c | |||
@@ -1320,10 +1320,10 @@ process_arguments (int argc, char **argv) | |||
1320 | #ifdef LIBCURL_FEATURE_SSL | 1320 | #ifdef LIBCURL_FEATURE_SSL |
1321 | enable_ssl: | 1321 | enable_ssl: |
1322 | use_ssl = TRUE; | 1322 | use_ssl = TRUE; |
1323 | /* ssl_version initialized to CURL_SSLVERSION_TLSv1_0 as a default. | 1323 | /* ssl_version initialized to CURL_SSLVERSION_DEFAULT as a default. |
1324 | * Only set if it's non-zero. This helps when we include multiple | 1324 | * Only set if it's non-zero. This helps when we include multiple |
1325 | * parameters, like -S and -C combinations */ | 1325 | * parameters, like -S and -C combinations */ |
1326 | ssl_version = CURL_SSLVERSION_TLSv1_0; | 1326 | ssl_version = CURL_SSLVERSION_DEFAULT; |
1327 | if (c=='S' && optarg != NULL) { | 1327 | if (c=='S' && optarg != NULL) { |
1328 | char *plus_ptr = strchr(optarg, '+'); | 1328 | char *plus_ptr = strchr(optarg, '+'); |
1329 | if (plus_ptr) { | 1329 | if (plus_ptr) { |