vnc-tls: Fix compilation with newer versions of GNU-TLS
commit7d2a929feba319c18603e324b1750830d6c8b7a1
authorAndre Przywara <andre.przywara@amd.com>
Thu, 18 Oct 2012 09:16:58 +0000 (18 11:16 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 18 Feb 2013 14:40:20 +0000 (18 08:40 -0600)
tree4e21109fffa728ae21ace73d5ab2633aaa17e15a
parent10adb8be87c315573a5bf9f5bda885f25da28ce6
vnc-tls: Fix compilation with newer versions of GNU-TLS

In my installation of GNU-TLS (v3.0.23) the type
gnutls_anon_server_credentials is marked deprecated, so -Werror
breaks compilation.
Simply replacing it with the newer ..._t version fixed the compilation
on my machine (Slackware 14.0). I cannot tell how far back this "new"
type goes, at least the header file in RHEL 5.0 (v1.4.1) seems to have
it already. If someone finds a broken distribution, tell me and I
insert some compat code.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Message-id: 1350551818-14717-1-git-send-email-andre.przywara@amd.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
ui/vnc-tls.c