peterdelevoryas / rpms / qemu

Forked from rpms/qemu 2 years ago
Clone

Blame 01-tls-handshake-fix.patch

Glauber Costa 47b075
Index: qemu-kvm-0.10/qemu/vnc.c
Glauber Costa 47b075
===================================================================
Glauber Costa 47b075
--- qemu-kvm-0.10.orig/qemu/vnc.c
Glauber Costa 47b075
+++ qemu-kvm-0.10/qemu/vnc.c
Glauber Costa 47b075
@@ -2096,14 +2096,6 @@ static int protocol_client_vencrypt_auth
Glauber Costa 47b075
 	    VNC_DEBUG("Failed to complete TLS\n");
Glauber Costa 47b075
 	    return 0;
Glauber Costa 47b075
 	}
Glauber Costa 47b075
-
Glauber Costa 47b075
-	if (vs->wiremode == VNC_WIREMODE_TLS) {
Glauber Costa 47b075
-	    VNC_DEBUG("Starting VeNCrypt subauth\n");
Glauber Costa 47b075
-	    return start_auth_vencrypt_subauth(vs);
Glauber Costa 47b075
-	} else {
Glauber Costa 47b075
-	    VNC_DEBUG("TLS handshake blocked\n");
Glauber Costa 47b075
-	    return 0;
Glauber Costa 47b075
-	}
Glauber Costa 47b075
     }
Glauber Costa 47b075
     return 0;
Glauber Costa 47b075
 }