From 45670057e91b5f90cf8830a6c495faa92e000ed8 Mon Sep 17 00:00:00 2001 From: ManickaP Date: Mon, 4 Aug 2025 16:25:41 +0200 Subject: [PATCH] Do async validation only from > 2.4, i.e. 2.4.1+ --- .../System.Net.Quic/src/System/Net/Quic/Internal/MsQuicApi.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libraries/System.Net.Quic/src/System/Net/Quic/Internal/MsQuicApi.cs b/src/libraries/System.Net.Quic/src/System/Net/Quic/Internal/MsQuicApi.cs index e609a69f20f582..8b01c1b962496f 100644 --- a/src/libraries/System.Net.Quic/src/System/Net/Quic/Internal/MsQuicApi.cs +++ b/src/libraries/System.Net.Quic/src/System/Net/Quic/Internal/MsQuicApi.cs @@ -62,8 +62,8 @@ private MsQuicApi(QUIC_API_TABLE* apiTable) internal static string MsQuicLibraryVersion { get; } = "unknown"; internal static string? NotSupportedReason { get; } - // workaround for https://github.com/microsoft/msquic/issues/4132 - internal static bool SupportsAsyncCertValidation => Version >= new Version(2, 4); + // Workaround for https://github.com/microsoft/msquic/issues/4132 + internal static bool SupportsAsyncCertValidation => Version > new Version(2, 4); internal static bool UsesSChannelBackend { get; }