Remove not needed if clause in starttls_io()

.. amends 35833c1979
This commit is contained in:
Dirk Wetter 2020-05-04 23:05:53 +02:00
parent 35833c1979
commit 6df3f2bd4e

View File

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