summaryrefslogtreecommitdiffstats
path: root/plugins/check_curl.d/check_curl_helpers.c
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2026-01-09 14:18:31 +0100
committerGitHub <noreply@github.com>2026-01-09 14:18:31 +0100
commitf694f4cd4dfead0da6feab04d92335d9bbe185b6 (patch)
treecd48ccd1fdac7a2b08eb0351fd95d2f6770a2277 /plugins/check_curl.d/check_curl_helpers.c
parentd13413916e72a6d564c796692e1233b92962d58c (diff)
parent7484fcc2606fe1e49dff1ab5f24a69290786b78d (diff)
downloadmonitoring-plugins-f694f4cd4dfead0da6feab04d92335d9bbe185b6.tar.gz
Merge pull request #2218 from RincewindsHat/fix/compiler_warnings
Fix some minor compiler warnings
Diffstat (limited to 'plugins/check_curl.d/check_curl_helpers.c')
-rw-r--r--plugins/check_curl.d/check_curl_helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_curl.d/check_curl_helpers.c b/plugins/check_curl.d/check_curl_helpers.c
index 7be781fc..5af00973 100644
--- a/plugins/check_curl.d/check_curl_helpers.c
+++ b/plugins/check_curl.d/check_curl_helpers.c
@@ -1214,7 +1214,7 @@ mp_subcheck check_curl_certificate_checks(CURL *curl, X509 *cert, int warn_days_
1214 1214
1215 cert_ptr_union cert_ptr = {0}; 1215 cert_ptr_union cert_ptr = {0};
1216 cert_ptr.to_info = NULL; 1216 cert_ptr.to_info = NULL;
1217 CURLcode res = curl_easy_getinfo(curl, CURLINFO_CERTINFO, &cert_ptr.to_info); 1217 CURLcode res = curl_easy_getinfo(curl, CURLINFO_CERTINFO, &cert_ptr.to_certinfo);
1218 if (!res && cert_ptr.to_info) { 1218 if (!res && cert_ptr.to_info) {
1219# ifdef USE_OPENSSL 1219# ifdef USE_OPENSSL
1220 /* We have no OpenSSL in libcurl, but we can use OpenSSL for X509 cert 1220 /* We have no OpenSSL in libcurl, but we can use OpenSSL for X509 cert