Skip to content

crypto: improve error reporting detail

Daniel P. Berrangé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5qapi: allow for g_autoptr(Error) usageinclude/qapi/error.h+2 -04 replies
2/5chardev: add tracing of socket error conditionschardev/char-socket.c chardev/trace-events+31 -131 reply
3/5crypto: drop gnutls debug logging supportcrypto/init.c+0 -112 replies
4/5crypto: push error reporting into TLS session I/O APIscrypto/tlssession.c include/crypto/tlssession.h io/channel-tls.c+57 -571 reply
5/5crypto: propagate errors from TLS session I/O callbackscrypto/tlssession.c include/crypto/tlssession.h io/channel-tls.c +1 more+103 -241 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-Daudé
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] crypto: improve error reporting detail

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(-)
Signature · 1 line
2.45.2