From 3ae3b8f02f0a107b9214607fe890f80a7e99ee95 Mon Sep 17 00:00:00 2001 From: Kevin Jones Date: Fri, 6 Aug 2021 15:59:30 -0400 Subject: [PATCH 1/2] Obsolete Rfc2898DeriveBytes.CryptDeriveKey --- docs/project/list-of-diagnostics.md | 1 + src/libraries/Common/src/System/Obsoletions.cs | 3 +++ .../ref/System.Security.Cryptography.Algorithms.cs | 1 + .../src/System/Security/Cryptography/Rfc2898DeriveBytes.cs | 1 + .../tests/Rfc2898Tests.cs | 2 ++ 5 files changed, 8 insertions(+) diff --git a/docs/project/list-of-diagnostics.md b/docs/project/list-of-diagnostics.md index 9cfc62762773bd..46b85688b017ab 100644 --- a/docs/project/list-of-diagnostics.md +++ b/docs/project/list-of-diagnostics.md @@ -87,6 +87,7 @@ The PR that reveals the implementation of the `(() => deriveBytes.CryptDeriveKey("RC2", "SHA1", 128, new byte[8])); +#pragma warning restore SYSLIB0033 } } From d9f7d9e59f719f3ea338cf7e49d057b95d19fcb8 Mon Sep 17 00:00:00 2001 From: Kevin Jones Date: Fri, 6 Aug 2021 18:27:45 -0400 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Jeff Handley --- docs/project/list-of-diagnostics.md | 2 +- src/libraries/Common/src/System/Obsoletions.cs | 2 +- .../ref/System.Security.Cryptography.Algorithms.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/project/list-of-diagnostics.md b/docs/project/list-of-diagnostics.md index 46b85688b017ab..e4f82872eebaa7 100644 --- a/docs/project/list-of-diagnostics.md +++ b/docs/project/list-of-diagnostics.md @@ -87,7 +87,7 @@ The PR that reveals the implementation of the `