2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-12-25 12:13:41 +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
echo "$result"|grep -v '(NONE)'
else
# prints priority, ciphersuite, protocols and pfs
awk '!/(NONE)/{print $1 " " $2 " " $3 " " $10 " " $11}' <<<"$result"
# prints priority, ciphersuite, protocols, pfs and benchmark time (if any)
awk '!/(NONE)/{print $1 " " $2 " " $3 " " $10 " " $11 " " $13 }' <<<"$result"
fi
done|column -t
echo