1
0
mirror of https://github.com/drwetter/testssl.sh.git synced 2025-07-17 19:21:57 +02:00

Merge pull request from dcooper16/fix_client_simulation

Fix client simulations
This commit is contained in:
Dirk Wetter
2018-03-27 09:10:55 +02:00
committed by GitHub

@ -3953,8 +3953,10 @@ client_simulation_sockets() {
if [[ "${1:0:4}" == "1603" ]]; then
clienthello="$(create_client_simulation_tls_clienthello "$1")"
TLS_CLIENT_HELLO="${clienthello:10}"
else
clienthello="$1"
TLS_CLIENT_HELLO=""
fi
len=${#clienthello}
for (( i=0; i < len; i=i+2 )); do