]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpc: set gnutls log function at global init time
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 3 Jun 2016 16:20:19 +0000 (17:20 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 8 Jun 2016 12:48:45 +0000 (13:48 +0100)
commit20c5ded9d013e8186e98e36ef62aea2e86f5c2f3
tree98703b89862984a9f3b4e80763a47f50ca4fdbce
parentd8a8af3492194089d1f101e10305421fba2d1760
rpc: set gnutls log function at global init time

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 <berrange@redhat.com>
src/rpc/virnettlscontext.c