From a8ae90137def4555a6edcccd593a174a412b4ee1 Mon Sep 17 00:00:00 2001 From: Steven Danneman Date: Fri, 30 Jun 2017 11:15:13 -0700 Subject: [PATCH] fd_socket now also modifies NW_STR Assign to local variable sooner. --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index 84db326..ad1a9f1 100755 --- a/testssl.sh +++ b/testssl.sh @@ -3447,8 +3447,8 @@ client_simulation_sockets() { done debugme echo "sending client hello..." code2network "${data}" - fd_socket 5 || return 6 data="$NW_STR" + fd_socket 5 || return 6 [[ "$DEBUG" -ge 4 ]] && echo "\"$data\"" printf -- "$data" >&5 2>/dev/null & sleep $USLEEP_SND