Minor correction to protocol behavior handling when security type "none" is

selected by the client.


svn path=/trunk/; revision=23312
This commit is contained in:
Stephen Fisher 2007-10-30 16:32:26 +00:00
parent d33e4cc381
commit de7bd77a1f
1 changed files with 6 additions and 4 deletions

View File

@ -549,11 +549,13 @@ vnc_startup_messages(tvbuff_t *tvb, packet_info *pinfo, gint offset,
switch(security_type_selected) {
case 1 : /* None */
/* Despite the RealVNC VNC protocol document, both
3.3/3.7 and 3.8 seem to go to the security result
next. */
per_conversation_info->vnc_next_state =
if(per_conversation_info->client_proto_ver >= 3.008)
per_conversation_info->vnc_next_state =
SECURITY_RESULT;
else
per_conversation_info->vnc_next_state =
CLIENT_INIT;
break;
case 2 : /* VNC */