aboutsummaryrefslogtreecommitdiff
path: root/ui/vnc.h
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2015-03-17 13:42:59 +0000
committerGerd Hoffmann <kraxel@redhat.com>2015-03-18 09:25:14 +0100
commit7b45a00d05cc936d28e36b95932864e8cc095968 (patch)
treec6830f2131bd06d8226b9cf6699ab27680f73de0 /ui/vnc.h
parent51941e4695c6f6c1f786bacef7e8c3a477570e04 (diff)
downloadqemu-7b45a00d05cc936d28e36b95932864e8cc095968.zip
qemu-7b45a00d05cc936d28e36b95932864e8cc095968.tar.gz
qemu-7b45a00d05cc936d28e36b95932864e8cc095968.tar.bz2
ui: remove separate gnutls_session for websockets server
The previous change to the auth scheme handling guarantees we can never have nested TLS sessions in the VNC websockets server. Thus we can remove the separate gnutls_session instance. Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/vnc.h')
-rw-r--r--ui/vnc.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/vnc.h b/ui/vnc.h
index aac9156..e19ac39 100644
--- a/ui/vnc.h
+++ b/ui/vnc.h
@@ -295,9 +295,6 @@ struct VncState
VncStateSASL sasl;
#endif
#ifdef CONFIG_VNC_WS
-#ifdef CONFIG_VNC_TLS
- VncStateTLS ws_tls;
-#endif /* CONFIG_VNC_TLS */
bool encode_ws;
bool websocket;
#endif /* CONFIG_VNC_WS */