]> git.proxmox.com Git - pve-qemu.git/blame - debian/patches/pve/0016-vnc-make-x509-imply-tls-again.patch
bump version to 2.9.1-1
[pve-qemu.git] / debian / patches / pve / 0016-vnc-make-x509-imply-tls-again.patch
CommitLineData
ddbcf45e 1From 78f096b96d63ed2e7eefd5826c5b8ef62f1244eb Mon Sep 17 00:00:00 2001
95259824
WB
2From: Wolfgang Bumiller <w.bumiller@proxmox.com>
3Date: Tue, 12 Jan 2016 09:09:49 +0100
67af0fa4 4Subject: [PATCH 16/28] vnc: make x509 imply tls again
95259824
WB
5
6---
7 ui/vnc.c | 5 ++---
8 1 file changed, 2 insertions(+), 3 deletions(-)
9
10diff --git a/ui/vnc.c b/ui/vnc.c
ddbcf45e 11index f30687884b..a345bf0d78 100644
95259824
WB
12--- a/ui/vnc.c
13+++ b/ui/vnc.c
45169293 14@@ -3881,9 +3881,8 @@ void vnc_display_open(const char *id, Error **errp)
95259824
WB
15 const char *path;
16 bool tls = false, x509 = false, x509verify = false;
17 tls = qemu_opt_get_bool(opts, "tls", false);
18- if (tls) {
19- path = qemu_opt_get(opts, "x509");
20-
21+ path = qemu_opt_get(opts, "x509");
22+ if (tls || path) {
23 if (path) {
24 x509 = true;
25 } else {
26--
45169293 272.11.0
95259824 28