We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a734aa4 commit 336ea79Copy full SHA for 336ea79
src/libraries/System.Net.Security/src/System/Net/Security/SslStreamPal.Windows.cs
@@ -260,12 +260,9 @@ public static unsafe SafeFreeCredentials AcquireCredentialsHandleSchannelCred(Ss
260
else
261
{
262
direction = Interop.SspiCli.CredentialUse.SECPKG_CRED_INBOUND;
263
- flags = Interop.SspiCli.SCHANNEL_CRED.Flags.SCH_SEND_AUX_RECORD;
264
-
265
- if (authOptions.CertificateContext?.Trust?._sendTrustInHandshake == true)
266
- {
267
- flags |= Interop.SspiCli.SCHANNEL_CRED.Flags.SCH_CRED_NO_SYSTEM_MAPPER;
268
- }
+ flags =
+ Interop.SspiCli.SCHANNEL_CRED.Flags.SCH_SEND_AUX_RECORD |
+ Interop.SspiCli.SCHANNEL_CRED.Flags.SCH_CRED_NO_SYSTEM_MAPPER;
269
}
270
271
EncryptionPolicy policy = authOptions.EncryptionPolicy;
0 commit comments