Merge 980c2652ac into 7a16304e52
This commit is contained in:
commit
8c14e7d9fc
|
|
@ -810,6 +810,11 @@ var RFB;
|
||||||
// second pass, do the sub-auth negotiation
|
// second pass, do the sub-auth negotiation
|
||||||
if (this._sock.rQwait("sub auth count", 4)) { return false; }
|
if (this._sock.rQwait("sub auth count", 4)) { return false; }
|
||||||
var subAuthCount = this._sock.rQshift32();
|
var subAuthCount = this._sock.rQshift32();
|
||||||
|
if (subAuthCount === 0) { // empty sub-auth list received means 'no auth' subtype selected
|
||||||
|
this._updateState('SecurityResult');
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
if (this._sock.rQwait("sub auth capabilities", 16 * subAuthCount, 4)) { return false; }
|
if (this._sock.rQwait("sub auth capabilities", 16 * subAuthCount, 4)) { return false; }
|
||||||
|
|
||||||
var clientSupportedTypes = {
|
var clientSupportedTypes = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue