2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-11-22 06:13:42 +01:00

cipherscan: fix benchmark mode output

The microsecond measurement column wasn't being rendered.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
This commit is contained in:
Steven Noonan 2017-01-01 13:38:38 -08:00
parent 532ff712aa
commit 981cf0744e

View File

@ -837,8 +837,8 @@ display_results_in_terminal() {
if [[ $different == "True" ]]; then if [[ $different == "True" ]]; then
echo "$result"|grep -v '(NONE)' echo "$result"|grep -v '(NONE)'
else else
# prints priority, ciphersuite, protocols and pfs # prints priority, ciphersuite, protocols, pfs and benchmark time (if any)
awk '!/(NONE)/{print $1 " " $2 " " $3 " " $10 " " $11}' <<<"$result" awk '!/(NONE)/{print $1 " " $2 " " $3 " " $10 " " $11 " " $13 }' <<<"$result"
fi fi
done|column -t done|column -t
echo echo