CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2015/08/27 09:26:50

Modified files:
        lib/libtls     : tls.c tls_client.c tls_internal.h tls_server.c 
                         tls_verify.c 

Log message:
Improve libtls error messages.

The tls_set_error() function previously stored the errno but did nothing
with it. Change tls_set_error() to append the strerror(3) of the stored
errno so that we include useful information regarding failures.

Provide a tls_set_errorx() function that does not store the errno or
include strerror(3) in the error message. Call this function instead of
tls_set_error() for errors where the errno value has no useful meaning.

With feedback from and ok doug@

Reply via email to