summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls_client.c
diff options
context:
space:
mode:
authorjsing <>2016-04-28 16:48:44 +0000
committerjsing <>2016-04-28 16:48:44 +0000
commit969e83487c1a522a380e5b1adf920edf92244e62 (patch)
tree2228658d31ed91575cce8bbc0cc1f0394cb96787 /src/lib/libtls/tls_client.c
parent4811ea506bb3a70811c8e5518bb5e6a6707e90c8 (diff)
downloadopenbsd-969e83487c1a522a380e5b1adf920edf92244e62.tar.gz
openbsd-969e83487c1a522a380e5b1adf920edf92244e62.tar.bz2
openbsd-969e83487c1a522a380e5b1adf920edf92244e62.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 'src/lib/libtls/tls_client.c')
0 files changed, 0 insertions, 0 deletions