CVSROOT:        /cvs
Module name:    src
Changes by:     b...@cvs.openbsd.org    2015/09/09 12:22:33

Modified files:
        lib/libtls     : tls.c 

Log message:
always clear errno when coming back from tls_read tls_write, and tls_close.

this avoids the problem of people checking for return values < 0
and then checking for errno before checking for TLS_READ_AGAIN
TLS_WRITE_AGAIN - since we can not guarantee what errno will be
set to from the underlying library calls

Reply via email to