mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-15 22:00:06 -04:00
Merge pull request #2112 from klaernie/patch-1
change error message for missing certificate
This commit is contained in:
commit
922d16ab2e
1 changed files with 1 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ int np_net_ssl_check_certificate(X509 *certificate, int days_till_exp_warn, int
|
|||
time_t tm_t;
|
||||
|
||||
if (!certificate) {
|
||||
printf("%s\n", _("CRITICAL - Cannot retrieve server certificate."));
|
||||
printf("%s\n", _("CRITICAL - No server certificate present to inspect."));
|
||||
return STATE_CRITICAL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue