mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-07-21 21:21:45 +02:00
Fix subjectAltName indendation
The PR didn't account for the indentation of the subjectAltName differing depending on whether the server has one or more than one certificate.
This commit is contained in:
@ -6125,7 +6125,7 @@ certificate_info() {
|
||||
while read san; do
|
||||
[[ -n "$san" ]] && all_san+="$san "
|
||||
done <<< "$sans"
|
||||
out_row_aligned_max_width "$all_san" " " 120 pr_italic
|
||||
out_row_aligned_max_width "$all_san" "$indent " 120 pr_italic
|
||||
fileout "${json_prefix}san" "INFO" "subjectAltName (SAN) : $all_san"
|
||||
else
|
||||
out "-- "
|
||||
|
Reference in New Issue
Block a user