Skip to content
Closed
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ public async Task SslStream_ClientCertificateContext_SendsChain(bool useTrust)
TargetHost = "localhost",
};
clientOptions.RemoteCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true;
clientOptions.ClientCertificateContext = SslStreamCertificateContext.Create(clientCertificate, useTrust ? null : clientChain, offline:true, trust);
clientOptions.ClientCertificateContext = SslStreamCertificateContext.Create(clientCertificate, useTrust ? null : clientChain, offline: true, trust);

await SslStream_ClientSendsChain_Core(clientOptions, clientChain);

Expand Down Expand Up @@ -989,6 +989,7 @@ public async Task SslStream_EphemeralKey_Throws()
[InlineData(16384 * 100, 4096, 1024, true)]
[InlineData(16384 * 100, 1024 * 20, 1024, true)]
[InlineData(16384, 3, 3, true)]
[ActiveIssue("https://github.com/dotnet/runtime/issues/104605")]
public async Task SslStream_RandomSizeWrites_OK(int bufferSize, int readBufferSize, int writeBufferSize, bool useAsync)
{
byte[] dataToCopy = RandomNumberGenerator.GetBytes(bufferSize);
Expand Down