CVSROOT: /cvs Module name: src Changes by: js...@cvs.openbsd.org 2016/04/28 10:48:44
Modified files: lib/libtls : tls.c tls.h tls_config.c tls_init.3 tls_internal.h Log message: 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@