mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-10-24 03:50:57 +00:00
Auth
This commit is contained in:
1 parent
6b90ac13e8
commit
3fc5991a84
2 files changed
+8
-1
No files matched your search
@@ -118,6 +118,10 @@ public class AuthHandshakeTests
|
||||
Assert.NotNull(r3.SessionKey);
|
||||
Assert.Equal(64, r3.SessionKey.Length); // 512-bit derived key
|
||||
Assert.Equal(r3.SessionKey, r4.SessionKey); // both ends agree
|
||||
Assert.Equal("alice", r3.LocalIdentity);
|
||||
Assert.Null(r3.RemoteIdentity);
|
||||
Assert.Null(r4.LocalIdentity);
|
||||
Assert.Equal("alice", r4.RemoteIdentity);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in new issue
Block a user