Progress indicator

This commit is contained in:
Julien Vehent 2013-11-20 10:47:23 -05:00
parent 889a75722d
commit d6556f5620

View file

@ -97,6 +97,7 @@ EOF
# Connect to the target and retrieve the chosen cipher
# recursively until the connection fails
get_cipher_pref() {
echo -n '.'
local ciphersuite="$1"
local sslcommand="timeout $TIMEOUT $OPENSSLBIN s_client -connect $TARGET -cipher $ciphersuite"
verbose "Connecting to '$TARGET' with ciphersuite '$ciphersuite'"
@ -140,7 +141,7 @@ results=()
# Call to the recursive loop that retrieves the cipher preferences
get_cipher_pref $CIPHERSUITE
echo
# Display the results
ctr=1
for cipher in "${cipherspref[@]}"; do