From f791d32c28cc086ad0d89cbcf93c64a26b477ed9 Mon Sep 17 00:00:00 2001 From: pe-jot Date: Fri, 25 Aug 2023 21:01:17 +0200 Subject: [PATCH] Remove incorrect RFB protocol version dependency in authentication result --- core/rfb.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/rfb.js b/core/rfb.js index fb9df0b9..72b13def 100644 --- a/core/rfb.js +++ b/core/rfb.js @@ -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();