summaryrefslogtreecommitdiffstats
path: root/plugins/check_smtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_smtp.c')
-rw-r--r--plugins/check_smtp.c6
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';