Skip to content

Commit

Permalink
Fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximLipnin committed Jul 20, 2021
1 parent 27cd9df commit 4a4f6c0
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,13 @@ public SafeDeleteSslContext(SafeFreeSslCredentials credential, SslAuthentication

_sslContext = CreateSslContext(credential, sslAuthenticationOptions.IsServer);

osStatus = Interop.AppleCrypto.SslSetIoCallbacks(
_sslContext,
&ReadFromConnection,
&WriteToConnection);
unsafe
{
osStatus = Interop.AppleCrypto.SslSetIoCallbacks(
_sslContext,
&ReadFromConnection,
&WriteToConnection);
}

if (osStatus != 0)
{
Expand Down

0 comments on commit 4a4f6c0

Please sign in to comment.