summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2026-01-09 13:12:31 +0100
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2026-01-09 13:12:31 +0100
commit35a13449955a969f10f74ac9cab9fed4531a1ca7 (patch)
tree0dafc08ad81d92fa115ebb1ceee33803d04a24f1
parentbbc0c8b29fdbefead8b49bc0bd77193f6fc83a1a (diff)
downloadmonitoring-plugins-35a13449955a969f10f74ac9cab9fed4531a1ca7.tar.gz
check_curl: fix pointer type
-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