diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-30 00:41:41 (GMT) |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-30 00:41:41 (GMT) |
commit | 7df9bd7bab72af4f300eef9dc509a226924de58b (patch) | |
tree | d98aa39e6fd369c439928d033e45382331e4755f /plugins/check_smtp.c | |
parent | fba6d9719e362be25a546ed47d0f7a42679fc79a (diff) | |
download | monitoring-plugins-7df9bd7bab72af4f300eef9dc509a226924de58b.tar.gz |
more internationalization fixes
internationalization freeze for beta1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1067 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_smtp.c')
-rw-r--r-- | plugins/check_smtp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index 6e5d972..f4a11e0 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c | |||
@@ -188,7 +188,7 @@ main (int argc, char **argv) | |||
188 | return STATE_UNKNOWN; | 188 | return STATE_UNKNOWN; |
189 | } | 189 | } |
190 | if(connect_STARTTLS() != OK) { | 190 | if(connect_STARTTLS() != OK) { |
191 | printf (_("ERROR: Cannot create SSL context.\n")); | 191 | printf (_("CRITICAL - Cannot create SSL context.\n")); |
192 | return STATE_CRITICAL; | 192 | return STATE_CRITICAL; |
193 | } | 193 | } |
194 | if ( check_cert ) { | 194 | if ( check_cert ) { |
@@ -197,7 +197,7 @@ main (int argc, char **argv) | |||
197 | X509_free(server_cert); | 197 | X509_free(server_cert); |
198 | } | 198 | } |
199 | else { | 199 | else { |
200 | printf (_("ERROR: Cannot retrieve server certificate.\n")); | 200 | printf (_("CRITICAL - Cannot retrieve server certificate.\n")); |
201 | result = STATE_CRITICAL; | 201 | result = STATE_CRITICAL; |
202 | 202 | ||
203 | } | 203 | } |
@@ -591,7 +591,7 @@ connect_STARTTLS (void) | |||
591 | SSL_load_error_strings (); | 591 | SSL_load_error_strings (); |
592 | if ((ctx = SSL_CTX_new (meth)) == NULL) | 592 | if ((ctx = SSL_CTX_new (meth)) == NULL) |
593 | { | 593 | { |
594 | printf(_("ERROR: Cannot create SSL context.\n")); | 594 | printf(_("CRITICAL - Cannot create SSL context.\n")); |
595 | return STATE_CRITICAL; | 595 | return STATE_CRITICAL; |
596 | } | 596 | } |
597 | /* do the SSL handshake */ | 597 | /* do the SSL handshake */ |
@@ -606,7 +606,7 @@ connect_STARTTLS (void) | |||
606 | } | 606 | } |
607 | else | 607 | else |
608 | { | 608 | { |
609 | printf (_("ERROR: Cannot initiate SSL handshake.\n")); | 609 | printf (_("CRITICAL - Cannot initiate SSL handshake.\n")); |
610 | } | 610 | } |
611 | /* this causes a seg faul | 611 | /* this causes a seg faul |
612 | not sure why, being sloppy | 612 | not sure why, being sloppy |
@@ -632,7 +632,7 @@ check_certificate (X509 ** certificate) | |||
632 | /* Generate tm structure to process timestamp */ | 632 | /* Generate tm structure to process timestamp */ |
633 | if (tm->type == V_ASN1_UTCTIME) { | 633 | if (tm->type == V_ASN1_UTCTIME) { |
634 | if (tm->length < 10) { | 634 | if (tm->length < 10) { |
635 | printf (_("ERROR: Wrong time format in certificate.\n")); | 635 | printf (_("CRITICAL - Wrong time format in certificate.\n")); |
636 | return STATE_CRITICAL; | 636 | return STATE_CRITICAL; |
637 | } | 637 | } |
638 | else { | 638 | else { |
@@ -644,7 +644,7 @@ check_certificate (X509 ** certificate) | |||
644 | } | 644 | } |
645 | else { | 645 | else { |
646 | if (tm->length < 12) { | 646 | if (tm->length < 12) { |
647 | printf (_("ERROR: Wrong time format in certificate.\n")); | 647 | printf (_("CRITICAL - Wrong time format in certificate.\n")); |
648 | return STATE_CRITICAL; | 648 | return STATE_CRITICAL; |
649 | } | 649 | } |
650 | else { | 650 | else { |