From 8cefc0f7b9e948bf3da8a2d1c1abaacbb9b946f8 Mon Sep 17 00:00:00 2001 From: mboelen Date: Tue, 1 Sep 2015 15:49:50 +0200 Subject: [PATCH] Show different status on screen when expired SSL certificates were found --- include/tests_crypto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tests_crypto b/include/tests_crypto index 8db5eb69..d883e8b8 100644 --- a/include/tests_crypto +++ b/include/tests_crypto @@ -64,9 +64,9 @@ done if [ ${FOUNDPROBLEM} -eq 0 ]; then - Display --indent 2 --text "- Checking SSL certificate expiration" --result OK --color GREEN + Display --indent 2 --text "- Checking for expired SSL certificates" --result NONE --color GREEN else - Display --indent 2 --text "- Checking SSL certificate expiration" --result WARNING --color RED + Display --indent 2 --text "- Checking for expired SSL certificates" --result FOUND --color RED ReportSuggestion ${TEST_NO} "Check available certificates for expiration" fi fi