summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-09-11 11:14:29 +0200
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-09-11 11:14:29 +0200
commit977e0a7f8bd3700f8514b1409205296d42216ed9 (patch)
treee1826e26d06ad7ca65c60bac43fe74d389b7a7f4
parentb44cbae7fb6b7bde948c0f26412e9b2a9ef8f78b (diff)
downloadmonitoring-plugins-977e0a7f8bd3700f8514b1409205296d42216ed9.tar.gz
check_curl: fix function signature
-rw-r--r--plugins/check_curl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index 7755d449..0784fb8b 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -198,7 +198,8 @@ static size_t get_content_length(const curlhelp_write_curlbuf *header_buf,
198 const curlhelp_write_curlbuf *body_buf); 198 const curlhelp_write_curlbuf *body_buf);
199 199
200#if defined(HAVE_SSL) && defined(USE_OPENSSL) 200#if defined(HAVE_SSL) && defined(USE_OPENSSL)
201int np_net_ssl_check_certificate(X509 *certificate, int days_till_exp_warn, int days_till_exp_crit); 201mp_state_enum np_net_ssl_check_certificate(X509 *certificate, int days_till_exp_warn,
202 int days_till_exp_crit);
202#endif /* defined(HAVE_SSL) && defined(USE_OPENSSL) */ 203#endif /* defined(HAVE_SSL) && defined(USE_OPENSSL) */
203 204
204static void test_file(char * /*path*/); 205static void test_file(char * /*path*/);