Skip to content

Commit fddb6e3

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
@@ -539,7 +539,8 @@ public void Ssh_LocalPortForwardingCloseChannels()
539539
{
540540
using HttpClientHandler handler = new()
541541
{
542-
AllowAutoRedirect = false
542+
AllowAutoRedirect = false,
543+
CheckCertificateRevocationList = true,
543544
};
544545

545546
using HttpClient httpClient = new(handler);
@@ -593,7 +594,8 @@ public void Ssh_LocalPortForwarding()
593594
{
594595
using HttpClientHandler handler = new()
595596
{
596-
AllowAutoRedirect = false
597+
AllowAutoRedirect = false,
598+
CheckCertificateRevocationList = true,
597599
};
598600

599601
using HttpClient httpClient = new(handler);

0 commit comments

Comments
 (0)