mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-04-16 14:36:06 +02:00
Remove not needed if clause in starttls_io()
.. amends 35833c1979f882450283f7ff12e2a4c1ceededcd
This commit is contained in:
parent
35833c1979
commit
6df3f2bd4e
@ -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)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user