diff --git a/testssl.sh b/testssl.sh index 5b0d9b9..abaea6f 100755 --- a/testssl.sh +++ b/testssl.sh @@ -5889,7 +5889,7 @@ sub_cipherlists() { elif [[ -n "$7" ]]; then sslv2_sockets "$7" "true" if [[ $? -eq 3 ]] && [[ "$V2_HELLO_CIPHERSPEC_LENGTH" -ne 0 ]]; then - sslv2_cipherlist="$(strip_spaces "${6//,/}")" + sslv2_cipherlist="$(strip_spaces "${7//,/}")" len=${#sslv2_cipherlist} detected_ssl2_ciphers="$(grep "Supported cipher: " "$TEMPDIR/$NODEIP.parse_sslv2_serverhello.txt")" for (( i=0; i