Tests for altered references for SignedXml (#67501)
authorAnders Abel <anders@abel.nu>
Sun, 3 Apr 2022 16:43:05 +0000 (18:43 +0200)
committerGitHub <noreply@github.com>
Sun, 3 Apr 2022 16:43:05 +0000 (10:43 -0600)
commit81fccd5a9957ce52cbc9b8817e9ff2f7445bbf16
treeec1b57d3b6680cab85a0c13acfc1a017f7ca3daf
parent1c2198ee5707f1292b16299dd6d7bb77de5e5d76
Tests for altered references for SignedXml (#67501)

- Fix Null ref on non-existing reference. This is in line with how
  the old code worked, it returned false on CheckSignature but didn't
  throw on load.
src/libraries/System.Security.Cryptography.Xml/src/System/Security/Cryptography/Xml/Reference.cs
src/libraries/System.Security.Cryptography.Xml/tests/SignedXmlTest.cs