]> git.proxmox.com Git - qemu.git/commit
vns/tls: don't use depricated gnutls functions
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 7 Sep 2011 15:52:10 +0000 (17:52 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 9 Sep 2011 17:58:17 +0000 (12:58 -0500)
commitf40d55081667a716312b9a8b6e13835c4074f56b
treebe7493edc6a3cfde192fa6b17e4191d74f478e3e
parentfa4e49c0c02f728e86df50a1c4a4011de8ca1225
vns/tls: don't use depricated gnutls functions

Avoid using deprecated gnutls functions with recent gnutls versions.
Fixes build failure on Fedora 16.  Keep the old way for compatibility
with old installations such as RHEL-5 (gnutls 1.4.x).

Based on a patch from Raghavendra D Prabhu <raghu.prabhu13@gmail.com>

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
ui/vnc-tls.c