diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2026-04-08 18:26:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-08 18:26:32 +0200 |
| commit | 5a57e35a235e4c8b0e7355b1ea840932563f35d4 (patch) | |
| tree | ad4b0a470ff340f01ec0cc7bea15c5a11496241d /plugins/check_smtp.c | |
| parent | 68db95d92276f5967217b268e1ca777d82cc5d49 (diff) | |
| parent | 1db493092ca6a68ff690251cc428037b54019a73 (diff) | |
| download | monitoring-plugins-5a57e35a.tar.gz | |
Merge branch 'master' into check_snmp_fixes
Diffstat (limited to 'plugins/check_smtp.c')
| -rw-r--r-- | plugins/check_smtp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index 24883fd8..19e2a58f 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c | |||
| @@ -350,7 +350,7 @@ int main(int argc, char **argv) { | |||
| 350 | } | 350 | } |
| 351 | } | 351 | } |
| 352 | 352 | ||
| 353 | # ifdef USE_OPENSSL | 353 | # ifdef MOPL_USE_OPENSSL |
| 354 | if (ssl_established) { | 354 | if (ssl_established) { |
| 355 | net_ssl_check_cert_result cert_check_result = | 355 | net_ssl_check_cert_result cert_check_result = |
| 356 | np_net_ssl_check_cert2(config.days_till_exp_warn, config.days_till_exp_crit); | 356 | np_net_ssl_check_cert2(config.days_till_exp_warn, config.days_till_exp_crit); |
| @@ -389,7 +389,7 @@ int main(int argc, char **argv) { | |||
| 389 | 389 | ||
| 390 | mp_add_subcheck_to_check(&overall, sc_cert_check); | 390 | mp_add_subcheck_to_check(&overall, sc_cert_check); |
| 391 | } | 391 | } |
| 392 | # endif /* USE_OPENSSL */ | 392 | # endif /* MOPL_USE_OPENSSL */ |
| 393 | 393 | ||
| 394 | #endif | 394 | #endif |
| 395 | 395 | ||
| @@ -764,7 +764,7 @@ check_smtp_config_wrapper process_arguments(int argc, char **argv) { | |||
| 764 | break; | 764 | break; |
| 765 | case 'D': { | 765 | case 'D': { |
| 766 | /* Check SSL cert validity */ | 766 | /* Check SSL cert validity */ |
| 767 | #ifdef USE_OPENSSL | 767 | #ifdef MOPL_USE_OPENSSL |
| 768 | char *temp; | 768 | char *temp; |
| 769 | if ((temp = strchr(optarg, ',')) != NULL) { | 769 | if ((temp = strchr(optarg, ',')) != NULL) { |
| 770 | *temp = '\0'; | 770 | *temp = '\0'; |
