summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-12-14 22:54:42 +0100
committerGitHub <noreply@github.com>2025-12-14 22:54:42 +0100
commit68fc05381ee5fa0aee1413118fbb3d81ca888b09 (patch)
tree60bbcedfd85dd565afc50424ed5712dd5780fea0
parenteed2dd00bb61db0f7654e394948a42b8bf0b14f3 (diff)
parent8bc1d57a7348afc4da80a60c37c971f51ae72a26 (diff)
downloadmonitoring-plugins-68fc05381ee5fa0aee1413118fbb3d81ca888b09.tar.gz
Merge pull request #2206 from oxzi/check_http_die_not_nullHEADmastercoverity/master
check_http: Abort invalid SSL w/ error
-rw-r--r--plugins/check_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index d264b95d..d2f080c7 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -1036,7 +1036,7 @@ int check_http(void) {
1036 printf("SSL initialized\n"); 1036 printf("SSL initialized\n");
1037 } 1037 }
1038 if (result != STATE_OK) { 1038 if (result != STATE_OK) {
1039 die(STATE_CRITICAL, NULL); 1039 die(STATE_CRITICAL, _("HTTP CRITICAL - SSL error\n"));
1040 } 1040 }
1041 microsec_ssl = deltime(tv_temp); 1041 microsec_ssl = deltime(tv_temp);
1042 elapsed_time_ssl = (double)microsec_ssl / 1.0e6; 1042 elapsed_time_ssl = (double)microsec_ssl / 1.0e6;