mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-01 06:19:44 +01:00
Fix alignment in neat_list()
When neat_list() is printing information about a cipher suite that uses (EC)DH key exchange that was obtained using an old version of OpenSSL the rows are not properly aligned, since the key exchange input includes an unexpected trailing space. This commit fixes the problem by removing any trailing spaces from $kx.
This commit is contained in:
parent
de48956639
commit
93ece13747
@ -3568,6 +3568,7 @@ neat_list(){
|
||||
local how2show="$6"
|
||||
|
||||
kx="${3//Kx=/}"
|
||||
kx="$(strip_trailing_space "$kx")"
|
||||
enc="${4//Enc=/}"
|
||||
# In two cases LibreSSL uses very long names for encryption algorithms
|
||||
# and doesn't include the number of bits.
|
||||
|
Loading…
Reference in New Issue
Block a user