]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Explicitly check for gnutls_rnd()
authorAndrea Bolognani <abologna@redhat.com>
Thu, 7 Apr 2016 11:48:48 +0000 (13:48 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 7 Apr 2016 15:55:53 +0000 (17:55 +0200)
commit2d23d145a67fb259f01f46086f419717887490b4
treed6cde436c1a9b90b7bb8465c3f3f1ec469eff9ae
parenta2e0e68c25e6a4a328690d31d257a131f2f7ae2f
qemu: Explicitly check for gnutls_rnd()

Our use of gnutls_rnd(), introduced with commit ad7520e8, is
conditional to the availability of the <gnutls/crypto.h> header
file.

Such check, however, turns out not to be strict enough, as there
are some versions of GnuTLS (eg. 2.8.5 from CentOS 6) that provide
the header file, but not the function itself, which was introduced
only in GnuTLS 2.12.0.

Introduce an explicit check for the function.
configure.ac
src/qemu/qemu_domain.c