Skip to content

Commit

Permalink
Remove UnsupportedOsPlatform from CryptoConfig as a utility class (#4…
Browse files Browse the repository at this point in the history
…3611)

* Remove UnsupportedOsPlatform from CryptoConfig as it is a safe utility class

* Clean up the other references
  • Loading branch information
lewing authored Oct 20, 2020
1 parent 158b632 commit 50f82db
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ protected AsymmetricSignatureFormatter() { }
public abstract void SetHashAlgorithm(string strName);
public abstract void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key);
}
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")]
public partial class CryptoConfig
{
public CryptoConfig() { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@
using System.Globalization;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;

namespace System.Security.Cryptography
{
[UnsupportedOSPlatform("browser")]
public class CryptoConfig
{
private const string AssemblyName_Cng = "System.Security.Cryptography.Cng";
Expand Down

0 comments on commit 50f82db

Please sign in to comment.