Skip to content

Commit e205dae

Browse files
authored
Do async validation only from > 2.4, i.e. 2.4.1+ (#118339)
1 parent cb001f3 commit e205dae

File tree

1 file changed

+2
-2
lines changed
  • src/libraries/System.Net.Quic/src/System/Net/Quic/Internal

1 file changed

+2
-2
lines changed

src/libraries/System.Net.Quic/src/System/Net/Quic/Internal/MsQuicApi.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ private MsQuicApi(QUIC_API_TABLE* apiTable)
6262
internal static string MsQuicLibraryVersion { get; } = "unknown";
6363
internal static string? NotSupportedReason { get; }
6464

65-
// workaround for https://github.com/microsoft/msquic/issues/4132
66-
internal static bool SupportsAsyncCertValidation => Version >= new Version(2, 4);
65+
// Workaround for https://github.com/microsoft/msquic/issues/4132
66+
internal static bool SupportsAsyncCertValidation => Version > new Version(2, 4);
6767

6868
internal static bool UsesSChannelBackend { get; }
6969

0 commit comments

Comments
 (0)