Remove incorrect RFB protocol version dependency in authentication result
This commit is contained in:
parent
295004cabe
commit
f791d32c28
|
|
@ -1962,13 +1962,6 @@ export default class RFB extends EventTargetMixin {
|
||||||
}
|
}
|
||||||
|
|
||||||
_handleSecurityResult() {
|
_handleSecurityResult() {
|
||||||
// There is no security choice, and hence no security result
|
|
||||||
// until RFB 3.7
|
|
||||||
if (this._rfbVersion < 3.7) {
|
|
||||||
this._rfbInitState = 'ClientInitialisation';
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this._sock.rQwait('VNC auth response ', 4)) { return false; }
|
if (this._sock.rQwait('VNC auth response ', 4)) { return false; }
|
||||||
|
|
||||||
const status = this._sock.rQshift32();
|
const status = this._sock.rQshift32();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue