From 45379ce1f9b7acbb53454d3c26f6f964ef437dcd Mon Sep 17 00:00:00 2001 From: David Cooper Date: Thu, 9 Feb 2017 13:29:22 -0500 Subject: [PATCH] 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. --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index ebf1cdde..e650d660 100755 --- a/testssl.sh +++ b/testssl.sh @@ -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 "-- "