Skip to content

Commit 47e9814

Browse files
author
tosticated
committed
Added check for certificate validity longer than 398 days
1 parent e3b6234 commit 47e9814

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

testssl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9150,7 +9150,7 @@ certificate_info() {
91509150
outln ">= 825 days certificate life time but issued before 2018/03/01"
91519151
fileout "cert_validityPeriod${json_postfix}" "INFO" "$((diffseconds / (3600 * 24) )) =< 825 days"
91529152
fi
9153-
else
9153+
else
91549154
# All is fine with valididy period
91559155
# We ignore for now certificates < 2018/03/01. On the screen we only show debug info
91569156
[[ "$DEBUG" -ge 1 ]] && outln "${spaces}DEBUG: all is fine with total certificate life time"

0 commit comments

Comments
 (0)