Merge pull request #1024 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
commit 653827cfe1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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