Skip to content

Commit e1a5627

Browse files
authored
Change boundary condition for Windows PQC presence
1 parent e207ac1 commit e1a5627

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/MLDsa/MLDsaTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static void IsSupported_AgreesWithPlatform()
3535
}
3636

3737
private static bool PlatformSupportsMLDsa() =>
38-
PlatformDetection.IsOpenSsl3_5 || PlatformDetection.IsWindows10Version27858OrGreater;
38+
PlatformDetection.IsOpenSsl3_5 || PlatformDetection.IsWindows10Version26200OrGreater;
3939

4040
[Fact]
4141
public static void DisposeIsCalledOnImplementation()

src/libraries/Common/tests/System/Security/Cryptography/MLKemImplementationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ public static void IsSupported_AgreesWithPlatform()
5555

5656
private static bool PlatformSupportsMLKem() =>
5757
PlatformDetection.IsOpenSsl3_5 ||
58-
PlatformDetection.IsWindows10Version27858OrGreater;
58+
PlatformDetection.IsWindows10Version26200OrGreater;
5959
}
6060
}

src/libraries/Common/tests/TestUtilities/System/PlatformDetection.Windows.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,8 @@ public static partial class PlatformDetection
6969
// Windows 11 aka 21H2
7070
public static bool IsWindows10Version22000OrGreater => IsWindowsVersionOrLater(10, 0, 22000);
7171

72-
// TODO: Update this to the first official PQC supported build when available.
73-
// Windows 11 Insider Preview Build 27871 (Canary Channel)
74-
public static bool IsWindows10Version27858OrGreater => IsWindowsVersionOrLater(10, 0, 27858);
72+
// Windows 11 2025 Update (25H2)
73+
public static bool IsWindows10Version26200OrGreater => IsWindowsVersionOrLater(10, 0, 26200);
7574

7675
public static bool IsWindowsIoTCore
7776
{

0 commit comments

Comments
 (0)