Skip to content

Commit a388e22

Browse files
committed

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/Renci.SshNet.IntegrationTests/SshTests.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,8 @@ public void Ssh_LocalPortForwardingCloseChannels()
542542
{
543543
using HttpClientHandler handler = new()
544544
{
545-
AllowAutoRedirect = false
545+
AllowAutoRedirect = false,
546+
CheckCertificateRevocationList = true,
546547
};
547548

548549
using HttpClient httpClient = new(handler);
@@ -598,7 +599,8 @@ public void Ssh_LocalPortForwarding()
598599
{
599600
using HttpClientHandler handler = new()
600601
{
601-
AllowAutoRedirect = false
602+
AllowAutoRedirect = false,
603+
CheckCertificateRevocationList = true,
602604
};
603605

604606
using HttpClient httpClient = new(handler);

0 commit comments

Comments
 (0)