From fddb6e323b4ff35f5ff6d5c8d3deb442eabb89bf Mon Sep 17 00:00:00 2001 From: Marius Thesing Date: Tue, 15 Jul 2025 21:13:42 +0200 Subject: [PATCH] fix ca5399 https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca5399 --- test/Renci.SshNet.IntegrationTests/SshTests.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/Renci.SshNet.IntegrationTests/SshTests.cs b/test/Renci.SshNet.IntegrationTests/SshTests.cs index ee9f5d90..e76e78ad 100644 --- a/test/Renci.SshNet.IntegrationTests/SshTests.cs +++ b/test/Renci.SshNet.IntegrationTests/SshTests.cs @@ -539,7 +539,8 @@ namespace Renci.SshNet.IntegrationTests { using HttpClientHandler handler = new() { - AllowAutoRedirect = false + AllowAutoRedirect = false, + CheckCertificateRevocationList = true, }; using HttpClient httpClient = new(handler); @@ -593,7 +594,8 @@ namespace Renci.SshNet.IntegrationTests { using HttpClientHandler handler = new() { - AllowAutoRedirect = false + AllowAutoRedirect = false, + CheckCertificateRevocationList = true, }; using HttpClient httpClient = new(handler);