mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
ui: remove 'ws_tls' field from VncState
The 'ws_tls' field in VncState is only ever representing the result of 'tlscreds != NULL' and is thus pointless. Replace use of 'ws_tls' with a direct check against 'tlscreds' Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Message-id: 1475163940-26094-4-git-send-email-berrange@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
12b2806761
commit
38e5756a61
2 changed files with 1 additions and 11 deletions
1
ui/vnc.h
1
ui/vnc.h
|
@ -172,7 +172,6 @@ struct VncDisplay
|
|||
int auth;
|
||||
int subauth; /* Used by VeNCrypt */
|
||||
int ws_auth; /* Used by websockets */
|
||||
bool ws_tls; /* Used by websockets */
|
||||
bool lossy;
|
||||
bool non_adaptive;
|
||||
QCryptoTLSCreds *tlscreds;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue