Re: [libvirt] [PATCH 2/9] rpc: set gnutls log function at global init time

2016-06-08 Thread Peter Krempa
On Mon, Jun 06, 2016 at 16:08:56 +0100, Daniel Berrange wrote: > Currently we set the gnutls log function when creating a > TLS context, however, the setting is in fact global, not > per context. So we should be setting it when we first call > gnutls_global_init() instead. > > Signed-off-by: Danie

[libvirt] [PATCH 2/9] rpc: set gnutls log function at global init time

2016-06-06 Thread Daniel P. Berrange
Currently we set the gnutls log function when creating a TLS context, however, the setting is in fact global, not per context. So we should be setting it when we first call gnutls_global_init() instead. Signed-off-by: Daniel P. Berrange --- src/rpc/virnettlscontext.c | 21 ++---