aboutsummaryrefslogtreecommitdiffstats
path: root/main/xen/qemu-xen-websocket-plain-hack.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2013-09-24 00:56:29 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2013-09-24 00:57:10 +0000
commit6462a531fde2fd520afaf6e14325e2ff416707fa (patch)
treedb991174873c85c7d618e02fcd05fee9ba240144 /main/xen/qemu-xen-websocket-plain-hack.patch
parent6a0445f7d272e32ae69327d6f0f8a907a657a960 (diff)
downloadaports-6462a531fde2fd520afaf6e14325e2ff416707fa.tar.bz2
aports-6462a531fde2fd520afaf6e14325e2ff416707fa.tar.xz
main/xen: add hack to force auth type to use plaintext on tls websocket for noVNC
Diffstat (limited to 'main/xen/qemu-xen-websocket-plain-hack.patch')
-rw-r--r--main/xen/qemu-xen-websocket-plain-hack.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/xen/qemu-xen-websocket-plain-hack.patch b/main/xen/qemu-xen-websocket-plain-hack.patch
new file mode 100644
index 0000000000..11d77708bb
--- /dev/null
+++ b/main/xen/qemu-xen-websocket-plain-hack.patch
@@ -0,0 +1,11 @@
+--- xen-4.3.0.orig/tools/qemu-xen/ui/vnc.c
++++ xen-4.3.0/tools/qemu-xen/ui/vnc.c
+@@ -3121,7 +3121,7 @@
+ */
+ if (password) {
+ #ifdef CONFIG_VNC_TLS
+- if (tls) {
++ if (0) {
+ vs->auth = VNC_AUTH_VENCRYPT;
+ if (x509) {
+ VNC_DEBUG("Initializing VNC server with x509 password auth\n");