summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2016-04-28 16:48:44 +0000
committerjsing <jsing@openbsd.org>2016-04-28 16:48:44 +0000
commita88e9e95f700d9db8d2f78052b581f175c0646f4 (patch)
treee88b38806fdcb15981a493bd8e37d1fa6655f646 /sys
parentPlug a couple of leaks of input buffers. (diff)
downloadwireguard-openbsd-a88e9e95f700d9db8d2f78052b581f175c0646f4.tar.xz
wireguard-openbsd-a88e9e95f700d9db8d2f78052b581f175c0646f4.zip
Rework the error handling in libtls so that we can associate errors with
both configuration and contexts. This allows us to propagate errors that occur during configuration, rather than either just failing with no reason or delaying the failure until it can be propagated via the tls context. Also provide a tls_config_error() function for retrieving the last error from a tls_config *. ok bcook@
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions