From 6df3f2bd4e0cd147fb80731d5cdd57dfd6c9f68b Mon Sep 17 00:00:00 2001 From: Dirk Wetter Date: Mon, 4 May 2020 23:05:53 +0200 Subject: [PATCH] Remove not needed if clause in starttls_io() .. amends 35833c1979f882450283f7ff12e2a4c1ceededcd --- testssl.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/testssl.sh b/testssl.sh index 97cf46a..bb3b552 100755 --- a/testssl.sh +++ b/testssl.sh @@ -10049,11 +10049,6 @@ starttls_io() { debugme echo -en "C: $1" echo -en "$1" >&5 fi - if [[ "$2" == JUSTSEND ]]; then - debugme echo -e "\n (only sent)\n" - dd of=/dev/null bs=512 count=1 <&5 2>/dev/null & - return 0 - fi # This seems a bit dangerous but works. No blockings yet. "if=nonblock" doesn't work on BSDs buffer="$(dd bs=512 count=1 <&5 2>/dev/null)"