mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-09-17 09:22:54 +02:00
Fix indentation @ Intermediate cert validity
... when there were two server and >1 intermediate CA certificates.
This commit is contained in:
@ -10277,7 +10277,7 @@ certificate_info() {
|
|||||||
out "$indent"; pr_bold " Intermediate cert validity "
|
out "$indent"; pr_bold " Intermediate cert validity "
|
||||||
first=false
|
first=false
|
||||||
else
|
else
|
||||||
out "$indent$spaces"
|
out "$spaces"
|
||||||
fi
|
fi
|
||||||
out "#${i}: "
|
out "#${i}: "
|
||||||
if ! [[ "$($OPENSSL x509 -checkend 1 2>>$ERRFILE <<< "$cert")" =~ \ not\ ]]; then
|
if ! [[ "$($OPENSSL x509 -checkend 1 2>>$ERRFILE <<< "$cert")" =~ \ not\ ]]; then
|
||||||
|
Reference in New Issue
Block a user