Skip to content

Commit

Permalink
Merge branch 'main' into dev/cheena/pull-main
Browse files Browse the repository at this point in the history
  • Loading branch information
cheenamalhotra committed Oct 30, 2024
2 parents 1a6978c + 93aea89 commit 8c15c00
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -821,9 +821,11 @@ public static string GetProtocolWarning(this SslProtocols protocol)
#pragma warning disable SYSLIB0039 // Type or member is obsolete: TLS 1.0 & 1.1 are deprecated
#endif
#pragma warning disable CS0618 // Type or member is obsolete : SSL is deprecated
#pragma warning disable CA5397 // Do not use deprecated SslProtocols values
#pragma warning disable CA5398 // Do not use deprecated SslProtocols values
if ((protocol & (SslProtocols.Ssl2 | SslProtocols.Ssl3 | SslProtocols.Tls | SslProtocols.Tls11)) != SslProtocols.None)
#pragma warning restore CA5398 // Do not use deprecated SslProtocols values
#pragma warning restore CA5397 // Do not use deprecated SslProtocols values
#pragma warning restore CS0618 // Type or member is obsolete : SSL is deprecated
#if NET8_0_OR_GREATER
#pragma warning restore SYSLIB0039 // Type or member is obsolete: SSL and TLS 1.0 & 1.1 is deprecated
Expand Down

0 comments on commit 8c15c00

Please sign in to comment.