Skip to content

Commit

Permalink
Remove Sync over Async in SNI Named Pipe Handle (#474)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wraith2 authored Mar 19, 2020
1 parent 464e443 commit 520f4eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public override uint EnableSsl(uint options)

try
{
_sslStream.AuthenticateAsClientAsync(_targetServer).GetAwaiter().GetResult();
_sslStream.AuthenticateAsClient(_targetServer);
_sslOverTdsStream.FinishHandshake();
}
catch (AuthenticationException aue)
Expand Down

0 comments on commit 520f4eb

Please sign in to comment.