On 22/7/24 15:16, Daniel P. Berrangé wrote:
The current TLS session I/O APIs just return a synthetic errno
value on error, which has been translated from a gnutls error
value. This looses a large amount of valuable information that
distinguishes different scenarios.
Pushing population of the "Error *errp" object into the TLS
session I/O APIs gives more detailed error information.
Signed-off-by: Daniel P. Berrangé <berra...@redhat.com>
---
crypto/tlssession.c | 47 ++++++++++++++++---------------------
include/crypto/tlssession.h | 23 ++++++++++++++----
io/channel-tls.c | 44 ++++++++++++++--------------------
3 files changed, 57 insertions(+), 57 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>