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:
David Cooper 2017-02-09 13:29:22 -05:00 committed by GitHub
parent c92131c072
commit 45379ce1f9
1 changed files with 1 additions and 1 deletions

View File

@ -6125,7 +6125,7 @@ certificate_info() {
while read san; do while read san; do
[[ -n "$san" ]] && all_san+="$san " [[ -n "$san" ]] && all_san+="$san "
done <<< "$sans" 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" fileout "${json_prefix}san" "INFO" "subjectAltName (SAN) : $all_san"
else else
out "-- " out "-- "