Merge pull request #1024 from dcooper16/fix_client_simulation
Fix client simulations
This commit is contained in:
commit
653827cfe1
|
@ -3953,8 +3953,10 @@ client_simulation_sockets() {
|
||||||
|
|
||||||
if [[ "${1:0:4}" == "1603" ]]; then
|
if [[ "${1:0:4}" == "1603" ]]; then
|
||||||
clienthello="$(create_client_simulation_tls_clienthello "$1")"
|
clienthello="$(create_client_simulation_tls_clienthello "$1")"
|
||||||
|
TLS_CLIENT_HELLO="${clienthello:10}"
|
||||||
else
|
else
|
||||||
clienthello="$1"
|
clienthello="$1"
|
||||||
|
TLS_CLIENT_HELLO=""
|
||||||
fi
|
fi
|
||||||
len=${#clienthello}
|
len=${#clienthello}
|
||||||
for (( i=0; i < len; i=i+2 )); do
|
for (( i=0; i < len; i=i+2 )); do
|
||||||
|
|
Loading…
Reference in New Issue