CVSROOT:        /cvs
Module name:    src
Changes by:     js...@cvs.openbsd.org   2016/12/24 06:52:42

Modified files:
        usr.bin/ftp    : fetch.c 

Log message:
Correctly handle tls_read()/tls_write().

In one tls_read() case, we failed to check for WANT_{POLLIN,POLLOUT}, so
fix that. In the same tls_read() case and the tls_write() case we fail to
handle errors correctly, which means that error is not reported and can be
lost by a futher libtls call.

ok beck@ jca@

Reply via email to