mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-09-10 17:25:51 +00:00
fix ca5399
https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca5399
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user