diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_smtp.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index 753ea3e..2e9b68b 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c | |||
@@ -582,11 +582,6 @@ process_arguments (int argc, char **argv) | |||
582 | usage4 (_("Timeout interval must be a positive integer")); | 582 | usage4 (_("Timeout interval must be a positive integer")); |
583 | } | 583 | } |
584 | break; | 584 | break; |
585 | case 'S': | ||
586 | /* starttls */ | ||
587 | use_ssl = TRUE; | ||
588 | use_ehlo = TRUE; | ||
589 | break; | ||
590 | case 'D': | 585 | case 'D': |
591 | /* Check SSL cert validity */ | 586 | /* Check SSL cert validity */ |
592 | #ifdef USE_OPENSSL | 587 | #ifdef USE_OPENSSL |
@@ -612,6 +607,10 @@ process_arguments (int argc, char **argv) | |||
612 | #else | 607 | #else |
613 | usage (_("SSL support not available - install OpenSSL and recompile")); | 608 | usage (_("SSL support not available - install OpenSSL and recompile")); |
614 | #endif | 609 | #endif |
610 | case 'S': | ||
611 | /* starttls */ | ||
612 | use_ssl = TRUE; | ||
613 | use_ehlo = TRUE; | ||
615 | break; | 614 | break; |
616 | case '4': | 615 | case '4': |
617 | address_family = AF_INET; | 616 | address_family = AF_INET; |