From e0f8c8d43e3d8087bd71580ce81f5ab4b8cbddce Mon Sep 17 00:00:00 2001 From: Dirk Date: Tue, 21 Jan 2020 22:47:53 +0100 Subject: [PATCH] Relax misunderstanding of DEBUG statemement There's a check for >825 days certificate lifetime. That check emits a debug statement when the lifetime is within this limit. It does that also when the certificate expired. This commit adds now the word "total" DEBUG: all is fine with total certificate life time to make sure the life time left not is what should be understood. --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index f2ae525..aabfc46 100755 --- a/testssl.sh +++ b/testssl.sh @@ -8789,7 +8789,7 @@ certificate_info() { else # All is fine with valididy period # We ignore for now certificates < 2018/03/01. On the screen we only show debug info - [[ "$DEBUG" -ge 1 ]] && outln "${spaces}DEBUG: all is fine with certificate life time" + [[ "$DEBUG" -ge 1 ]] && outln "${spaces}DEBUG: all is fine with total certificate life time" fileout "cert_validityPeriod${json_postfix}" "INFO" "No finding" fi