From 23337cc6f47c2a695712bb34acb83d4791f78929 Mon Sep 17 00:00:00 2001 From: judasnow Date: Fri, 15 Nov 2024 10:25:59 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=F0=9F=90=9B=20typo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/packets/handshake.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/packets/handshake.js b/lib/packets/handshake.js index 239387ca98..ee894a0d3a 100644 --- a/lib/packets/handshake.js +++ b/lib/packets/handshake.js @@ -15,7 +15,7 @@ class Handshake { this.authPluginData2 = args.authPluginData2; this.characterSet = args.characterSet; this.statusFlags = args.statusFlags; - this.autPluginName = args.autPluginName; + this.authPluginName = args.authPluginName; } setScrambleData(cb) { @@ -102,7 +102,7 @@ class Handshake { } if (args.capabilityFlags & ClientConstants.PLUGIN_AUTH) { - args.autPluginName = packet.readNullTerminatedString('ascii'); + args.authPluginName = packet.readNullTerminatedString('ascii'); } return new Handshake(args); From 6d52eb34a4cd6dcafe71c455458a0ef8481bb610 Mon Sep 17 00:00:00 2001 From: judasnow Date: Fri, 15 Nov 2024 14:37:22 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=F0=9F=90=9B=20typo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/commands/client_handshake.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands/client_handshake.js b/lib/commands/client_handshake.js index f6cd56ccdf..35dcdc2f90 100644 --- a/lib/commands/client_handshake.js +++ b/lib/commands/client_handshake.js @@ -67,7 +67,7 @@ class ClientHandshake extends Command { this.password3 = connection.config.password3; this.passwordSha1 = connection.config.passwordSha1; this.database = connection.config.database; - this.autPluginName = this.handshake.autPluginName; + this.authPluginName = this.handshake.authPluginName; const handshakeResponse = new Packets.HandshakeResponse({ flags: this.clientFlags, user: this.user,