ref: 231d3dfcb578315caf248448b94560a262e5e91c
parent: 57bdb6bb0dc43e066aebec2a9a39cc1e9fb362a9
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Oct 18 15:30:14 EDT 2020
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.
--- a/sys/src/cmd/vnc/auth.c
+++ b/sys/src/cmd/vnc/auth.c
@@ -77,7 +77,7 @@
type == ANoAuth ? "None" :
type == AVncAuth ? "VNC" : "Unknown");
}
- if(type > auth)
+ if(type > auth && type <= AVncAuth)
auth = type;
}
return auth;
--
⑨