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.