Skip to content

Commit

Permalink
Disable Shake Read tests on AzureLinux.
Browse files Browse the repository at this point in the history
SCOSSL does not appear to implement EVP_DigestSqueeze correctly. Disable the tests there for now.
  • Loading branch information
vcsjones committed Jan 31, 2025
1 parent 7afd807 commit a34ce4a
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ public static bool IsReadSupported
get
{
const long OpenSsl_3_3_0 = 0x30300000L;
return IsSupported && (PlatformDetection.IsWindows || SafeEvpPKeyHandle.OpenSslVersion >= OpenSsl_3_3_0);
return IsSupported && (
PlatformDetection.IsWindows ||
// Disabled on AzureLinux https://github.com/dotnet/runtime/issues/112036
(SafeEvpPKeyHandle.OpenSslVersion >= OpenSsl_3_3_0 && !PlatformDetection.IsAzureLinux));
}
}

Expand Down Expand Up @@ -745,6 +748,7 @@ public void Read_MixedGetCurrentHash()
}

[ConditionalFact(nameof(IsSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/112036", typeof(PlatformDetection), nameof(PlatformDetection.IsAzureLinux))]
public void Read_NotSupported()
{
// This is testing when a TShake can be created, but the platform does not have Read.
Expand Down

0 comments on commit a34ce4a

Please sign in to comment.