Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update src/libraries/Common/src/Interop/Unix/System.Security.Cryptogr…
…aphy.Native/Interop.OpenSsl.cs

Co-authored-by: Stephen Toub <[email protected]>
  • Loading branch information
2 people authored and github-actions committed Aug 22, 2022
commit f7c7cb4d65b286573de1e9bd9be19b584b6c67f7
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ internal static SafeSslHandle AllocateSslHandle(SslAuthenticationOptions sslAuth
if (cacheSslContext && !string.IsNullOrEmpty(punyCode))
{
sslCtxHandle.TrySetSession(sslHandle, punyCode);
bool ignored = false; // DangerousAddRef will throw on failure
bool ignored = false;
sslCtxHandle.DangerousAddRef(ref ignored);
sslHandle.SslContextHandle = sslCtxHandle;
}
Expand Down