Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ internal static partial class LocalAppContextSwitches
private static int InitializeMaxReferencesPerSignedInfo()
{
const int DefaultMaxReferencesPerSignedInfo = 100;
object? data = AppContext.GetData("System.Security.Cryptography.MaxReferencesPerSignedInfo");
object? data = AppContext.GetData("System.Security.Cryptography.Xml.MaxReferencesPerSignedInfo");

if (data is null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class SignedXml_Limits
{
private const int MaxTransformsPerReference = 10;
private const int DefaultMaxReferencesPerSignedInfo = 100;
private const string MaxReferencesPerSignedInfoAppContextSwitch = "System.Security.Cryptography.MaxReferencesPerSignedInfo";
private const string MaxReferencesPerSignedInfoAppContextSwitch = "System.Security.Cryptography.Xml.MaxReferencesPerSignedInfo";

[Theory]
[InlineData(1, 1, false)]
Expand Down