mbox series

[0/5] crypto: improve error reporting detail

Message ID 20240722131611.2820041-1-berrange@redhat.com (mailing list archive)
Headers show
Series crypto: improve error reporting detail | expand

Message

Daniel P. Berrangé July 22, 2024, 1:16 p.m. UTC
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(-)