提交 a26c97ad 编写于 作者: B balrog

Handle 3.7 VNC clients authentication correctly (Dan Kenigsberg).


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3498 c046a42c-6fe2-441c-8c8c-71466251a162
上级 6ac0e82d
......@@ -1806,7 +1806,10 @@ static int protocol_client_auth(VncState *vs, char *data, size_t len)
switch (vs->auth) {
case VNC_AUTH_NONE:
VNC_DEBUG("Accept auth none\n");
vnc_write_u32(vs, 0); /* Accept auth completion */
if (vs->minor >= 8) {
vnc_write_u32(vs, 0); /* Accept auth completion */
vnc_flush(vs);
}
vnc_read_when(vs, protocol_client_init, 1);
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册