]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: extend workaround for gnutls private key loading failure
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 4 Aug 2015 11:26:15 +0000 (12:26 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 4 Aug 2015 11:28:24 +0000 (12:28 +0100)
commit3433180ec89195aef3c434d8c8d44d55b0bd6466
treef7370ae6d567a1ebe86828c9723c3644318e387a
parent36025c552cae6c79ab9e54f65e758907845846ac
tests: extend workaround for gnutls private key loading failure

In gnutls 3.4.3 there is a regression in the loading of private
keys via gnutls_x509_privkey_import. We already have a workaround
to deal with failures on older gnutls, but the error code that
the new gnutls returns is different. Extend the workaround so that
is checks for GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE too.

See also gnutls https://bugzilla.redhat.com/show_bug.cgi?id=1250020

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
tests/virnettlshelpers.c