mirror of
https://github.com/netbirdio/IronRDP.git
synced 2026-05-22 18:43:12 -07:00
Update Connection.cs
This commit is contained in:
committed by
Marc-André Moreau
parent
58755938c2
commit
5266147669
@@ -47,7 +47,10 @@ public static class Connection
|
||||
promise.SetResult(certificate!.GetPublicKey());
|
||||
return true;
|
||||
});
|
||||
await sslStream.AuthenticateAsClientAsync(servername);
|
||||
await sslStream.AuthenticateAsClientAsync(new SslClientAuthenticationOptions()
|
||||
{
|
||||
AllowTlsResume = false
|
||||
});
|
||||
serverPublicKey = await promise.Task;
|
||||
framedSsl = new Framed<SslStream>(sslStream);
|
||||
connector.MarkSecurityUpgradeAsDone();
|
||||
|
||||
Reference in New Issue
Block a user