From a34ce4a6fbf4ebf5df3c5710d9abba34a2f02688 Mon Sep 17 00:00:00 2001 From: Kevin Jones Date: Fri, 31 Jan 2025 10:58:37 -0500 Subject: [PATCH] Disable Shake Read tests on AzureLinux. SCOSSL does not appear to implement EVP_DigestSqueeze correctly. Disable the tests there for now. --- .../System.Security.Cryptography/tests/ShakeTestDriver.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/libraries/System.Security.Cryptography/tests/ShakeTestDriver.cs b/src/libraries/System.Security.Cryptography/tests/ShakeTestDriver.cs index a2a6304e4fabba..1d093cdb9c9cbe 100644 --- a/src/libraries/System.Security.Cryptography/tests/ShakeTestDriver.cs +++ b/src/libraries/System.Security.Cryptography/tests/ShakeTestDriver.cs @@ -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)); } } @@ -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.