vncv: pick an auth type that we support
We used to pick the highest auth type regardless of whether we supported it. Now we filter down to types that we support.front
parent
87385accde
commit
78bed738e1
|
@ -77,7 +77,7 @@ sectype38(Vnc *v)
|
|||
type == ANoAuth ? "None" :
|
||||
type == AVncAuth ? "VNC" : "Unknown");
|
||||
}
|
||||
if(type > auth)
|
||||
if(type > auth && type <= AVncAuth)
|
||||
auth = type;
|
||||
}
|
||||
return auth;
|
||||
|
|
Loading…
Reference in New Issue