Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1135,6 +1135,11 @@ public async Task SslStream_UnifiedHello_Ok(bool useOptionCallback)
[PlatformSpecific(TestPlatforms.Windows | TestPlatforms.Linux)]
public async Task DisableUnusedRsaPadding_Connects(bool clientDisable, bool serverDisable)
{
if (PlatformDetection.IsOpenSslSupported && !PlatformDetection.IsOpenSsl3)
{
throw new SkipTestException("OpenSSL 3.0 or later is required.");
}

(Stream client, Stream server) = TestHelper.GetConnectedTcpStreams();

using SslStream clientSslStream = new SslStream(client);
Expand Down Expand Up @@ -1171,6 +1176,11 @@ public async Task DisableUnusedRsaPadding_Connects(bool clientDisable, bool serv
[PlatformSpecific(TestPlatforms.Windows | TestPlatforms.Linux)]
public async Task DisableUsedRsaPadding_Throws(bool clientDisable, bool serverDisable)
{
if (PlatformDetection.IsOpenSslSupported && !PlatformDetection.IsOpenSsl3)
{
throw new SkipTestException("OpenSSL 3.0 or later is required.");
}

(Stream client, Stream server) = TestHelper.GetConnectedTcpStreams();

using SslStream clientSslStream = new SslStream(client);
Expand Down
Loading