diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2015-08-27 15:26:51 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2015-08-27 15:26:51 +0000 |
commit | 30f8f32eb36b21bac6c243b7dba1e3a0a90e030f (patch) | |
tree | 9bdb0d478fc6f378788584e54118dc7b865b29d6 /usr.bin/lorder/Makefile | |
parent | 28d6ab8e0351c97588124f27b60b93a49e566776 (diff) |
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@
Diffstat (limited to 'usr.bin/lorder/Makefile')
0 files changed, 0 insertions, 0 deletions