Skip to content

Commit

Permalink
Cleanup certificates before running ConnectWithRevocation_WithCallbac…
Browse files Browse the repository at this point in the history
…k_Core on Windows (#104014)
  • Loading branch information
rzikm committed Jun 26, 2024
1 parent be8a09f commit 9317db0
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,11 @@ private async Task ConnectWithRevocation_WithCallback_Core(

(Stream clientStream, Stream serverStream) = TestHelper.GetConnectedStreams();

if (PlatformDetection.IsWindows && testName != null)
{
TestHelper.CleanupCertificates(testName);
}

CertificateAuthority.BuildPrivatePki(
PkiOptions.EndEntityRevocationViaOcsp | PkiOptions.CrlEverywhere,
out RevocationResponder responder,
Expand Down

0 comments on commit 9317db0

Please sign in to comment.