summary refs log tree commit diff stats
path: root/ui/vnc-ws.h
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2015-07-01 18:10:36 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2015-07-08 13:11:01 +0200
commit8e9b0d24fb986d4241ae3b77752eca5dab4cb486 (patch)
treece366ef15d1da340c5219bfd7814fa0b4a102d87 /ui/vnc-ws.h
parent488981a4af396551a3178d032cc2b41d9553ada2 (diff)
downloadfocaccia-qemu-8e9b0d24fb986d4241ae3b77752eca5dab4cb486.tar.gz
focaccia-qemu-8e9b0d24fb986d4241ae3b77752eca5dab4cb486.zip
ui: convert VNC websockets to use crypto APIs
Remove the direct use of gnutls for hash processing in the
websockets code, in favour of using the crypto APIs. This
allows the websockets code to be built unconditionally
removing countless conditional checks from the VNC code.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1435770638-25715-9-git-send-email-berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'ui/vnc-ws.h')
-rw-r--r--ui/vnc-ws.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/vnc-ws.h b/ui/vnc-ws.h
index 14d4230eff..94942258ec 100644
--- a/ui/vnc-ws.h
+++ b/ui/vnc-ws.h
@@ -21,8 +21,6 @@
 #ifndef __QEMU_UI_VNC_WS_H
 #define __QEMU_UI_VNC_WS_H
 
-#include <gnutls/gnutls.h>
-
 #define B64LEN(__x) (((__x + 2) / 3) * 12 / 3)
 #define SHA1_DIGEST_LEN 20