mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-06 00:39:44 +01:00
Revert "fixed output in ciphertest with --color=1"
This reverts commit7f7b1edd50
. This is already fixed withc62abaf215
in upstream.
This commit is contained in:
parent
7f7b1edd50
commit
52f7de1a4a
@ -1466,11 +1466,6 @@ neat_list(){
|
||||
[[ "${#kx}" -eq 18 ]] && kx="$kx " # 18 means DH, colored < 1000. Add another space
|
||||
[[ "${#kx}" -eq 19 ]] && kx="$kx " # 19 means DH, colored >=1000. Add another space
|
||||
#echo ${#kx} # should be always 20
|
||||
elif printf -- "$kx" | "${HEXDUMPVIEW[@]}" | grep -q "5b 6d" ; then # here's a code from pr_off()
|
||||
kx="$kx " # one for color code if ECDH and three digits
|
||||
[[ "${#kx}" -eq 11 ]] && kx="$kx " # 11 means DH, colored < 1000. Add another space
|
||||
[[ "${#kx}" -eq 12 ]] && kx="$kx " # 12 means DH, colored >=1000. Add another space
|
||||
#echo ${#kx} # should be always 13
|
||||
fi
|
||||
|
||||
printf -- " %-7s %-30s %-10s %-11s%-11s${ADD_RFC_STR:+ %-48s}${SHOW_EACH_C:+ %-0s}" "$hexcode" "$ossl_cipher" "$kx" "$enc" "$strength" "$(show_rfc_style $HEXC)"
|
||||
|
Loading…
Reference in New Issue
Block a user