]> git.proxmox.com Git - pve-qemu-kvm.git/blame - debian/patches/pve/0040-vnc-make-x509-imply-tls-again.patch
adding 2.5 pve patches and left-over extra fixes
[pve-qemu-kvm.git] / debian / patches / pve / 0040-vnc-make-x509-imply-tls-again.patch
CommitLineData
ca0fe5f5
WB
1From b75743d1277b90c2248ce06c0ced957212531441 Mon Sep 17 00:00:00 2001
2From: Wolfgang Bumiller <w.bumiller@proxmox.com>
3Date: Tue, 12 Jan 2016 09:09:49 +0100
4Subject: [PATCH 40/41] vnc: make x509 imply tls again
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
11index ae5a4fe..ba99636 100644
12--- a/ui/vnc.c
13+++ b/ui/vnc.c
14@@ -3732,9 +3732,8 @@ void vnc_display_open(const char *id, Error **errp)
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--
272.1.4
28