|
|
@ -569,8 +569,8 @@ ReadSupportedSecurityType(rfbClient* client, uint32_t *result, rfbBool subAuth)
|
|
|
|
rfbClientLog("%d) Received security type %d\n", loop, tAuth[loop]);
|
|
|
|
rfbClientLog("%d) Received security type %d\n", loop, tAuth[loop]);
|
|
|
|
if (flag) continue;
|
|
|
|
if (flag) continue;
|
|
|
|
if (tAuth[loop]==rfbVncAuth || tAuth[loop]==rfbNoAuth ||
|
|
|
|
if (tAuth[loop]==rfbVncAuth || tAuth[loop]==rfbNoAuth ||
|
|
|
|
tAuth[loop]==rfbARD ||
|
|
|
|
(tAuth[loop]==rfbARD && client->GetCredential) ||
|
|
|
|
(!subAuth && (tAuth[loop]==rfbTLS || tAuth[loop]==rfbVeNCrypt)))
|
|
|
|
(!subAuth && (tAuth[loop]==rfbTLS || (tAuth[loop]==rfbVeNCrypt && client->GetCredential))))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (!subAuth && client->clientAuthSchemes)
|
|
|
|
if (!subAuth && client->clientAuthSchemes)
|
|
|
|
{
|
|
|
|
{
|
|
|
|