Remove incorrect RFB protocol version dependency in authentication result

This commit is contained in:
pe-jot 2023-08-25 21:01:17 +02:00
parent 295004cabe
commit f791d32c28
1 changed files with 0 additions and 7 deletions

View File

@ -1962,13 +1962,6 @@ export default class RFB extends EventTargetMixin {
}
_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; }
const status = this._sock.rQshift32();