mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
51941e4695
commit
7b45a00d05
4 changed files with 33 additions and 62 deletions
3
ui/vnc.h
3
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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue