This small series came about after struggling to diagnose some problems with TLS, due to unhelpfully generic error messages.
Daniel P. Berrangé (5): qapi: allow for g_autoptr(Error) usage chardev: add tracing of socket error conditions crypto: drop gnutls debug logging support crypto: push error reporting into TLS session I/O APIs crypto: propagate errors from TLS session I/O callbacks chardev/char-socket.c | 34 +++++---- chardev/trace-events | 10 +++ crypto/init.c | 11 --- crypto/tlssession.c | 110 ++++++++++++++++++++-------- include/crypto/tlssession.h | 33 +++++++-- include/qapi/error.h | 2 + io/channel-tls.c | 62 +++++++--------- tests/unit/test-crypto-tlssession.c | 28 ++++++- 8 files changed, 189 insertions(+), 101 deletions(-) -- 2.45.2