Commit 52fb63d5 authored by steven_carr's avatar steven_carr

Specifically test for Major Version 3 added

parent b5ab72d6
......@@ -235,7 +235,8 @@ rfbAuthNewClient(rfbClientPtr cl)
securityType = rfbSecTypeVncAuth;
}
if (cl->protocolMinorVersion < 7) {
if (cl->protocolMajorVersion==3 && cl->protocolMinorVersion < 7)
{
/* Make sure we use only RFB 3.3 compatible security types. */
if (securityType == rfbSecTypeInvalid) {
rfbLog("VNC authentication disabled - RFB 3.3 client rejected\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment