[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/5] crypto: drop gnutls debug logging support
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH 3/5] crypto: drop gnutls debug logging support |
Date: |
Mon, 22 Jul 2024 16:03:54 +0100 |
User-agent: |
Mutt/2.2.12 (2023-09-09) |
On Mon, Jul 22, 2024 at 04:32:23PM +0200, Philippe Mathieu-Daudé wrote:
> On 22/7/24 15:16, Daniel P. Berrangé wrote:
> > GNUTLS already supports dynamically enabling its logging at runtime by
> > setting the env var 'GNUTLS_DEBUG_LEVEL=10', so there is no need to
> > re-invent this logic in QEMU in a way that requires a re-compile.
> >
> > Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> > ---
> > crypto/init.c | 11 -----------
> > 1 file changed, 11 deletions(-)
> >
> > diff --git a/crypto/init.c b/crypto/init.c
> > index fb7f1bff10..2d6dfa3091 100644
> > --- a/crypto/init.c
> > +++ b/crypto/init.c
> > @@ -34,13 +34,6 @@
> > #include "crypto/random.h"
> > -/* #define DEBUG_GNUTLS */
>
> Maybe mention GNUTLS_DEBUG_LEVEL=10 here or in header? Otherwise
I'm adding
/*
* To debug GNUTLS see env vars listed in
* https://gnutls.org/manual/html_node/Debugging-and-auditing.html
*/
>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
>
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [PATCH 0/5] crypto: improve error reporting detail, Daniel P . Berrangé, 2024/07/22
- [PATCH 3/5] crypto: drop gnutls debug logging support, Daniel P . Berrangé, 2024/07/22
- [PATCH 2/5] chardev: add tracing of socket error conditions, Daniel P . Berrangé, 2024/07/22
- [PATCH 4/5] crypto: push error reporting into TLS session I/O APIs, Daniel P . Berrangé, 2024/07/22
- [PATCH 5/5] crypto: propagate errors from TLS session I/O callbacks, Daniel P . Berrangé, 2024/07/22
- [PATCH 1/5] qapi: allow for g_autoptr(Error) usage, Daniel P . Berrangé, 2024/07/22