diff options
Diffstat (limited to 'plugins/check_smtp.c')
-rw-r--r-- | plugins/check_smtp.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index 6c5994c0..494bc2cd 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c | |||
@@ -276,9 +276,6 @@ main (int argc, char **argv) | |||
276 | # ifdef USE_OPENSSL | 276 | # ifdef USE_OPENSSL |
277 | if ( check_cert ) { | 277 | if ( check_cert ) { |
278 | result = np_net_ssl_check_cert(days_till_exp); | 278 | result = np_net_ssl_check_cert(days_till_exp); |
279 | if(result != STATE_OK){ | ||
280 | printf ("%s\n", _("CRITICAL - Cannot retrieve server certificate.")); | ||
281 | } | ||
282 | my_close(); | 279 | my_close(); |
283 | return result; | 280 | return result; |
284 | } | 281 | } |