mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-06-27 05:23:13 +00:00
Merge branch 'main' of https://github.com/esiur/esiur-dotnet
This commit is contained in:
@ -833,7 +833,7 @@ public partial class DistributedConnection : NetworkConnection, IStore
|
||||
}
|
||||
}
|
||||
|
||||
//Console.WriteLine(msg.GetString(offset, ends - offset));
|
||||
|
||||
|
||||
var rt = authPacket.Parse(msg, offset, ends);
|
||||
|
||||
@ -1032,6 +1032,7 @@ public partial class DistributedConnection : NetworkConnection, IStore
|
||||
//SendParams((byte)0, localHash);
|
||||
|
||||
var localHash = hashFunc.ComputeHash((new BinaryList()).AddUInt8Array(localNonce).AddUInt8Array(remoteNonce).AddUInt8Array(pw).ToArray());
|
||||
|
||||
SendParams().AddUInt8(0).AddUInt8Array(localHash).Done();
|
||||
|
||||
readyToEstablish = true;
|
||||
|
Reference in New Issue
Block a user