qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 4/5] crypto: push error reporting into TLS session I/O APIs


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 4/5] crypto: push error reporting into TLS session I/O APIs
Date: Mon, 22 Jul 2024 16:37:31 +0200
User-agent: Mozilla Thunderbird

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é <berrange@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é <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]