Skip to content

Commit

Permalink
Merge pull request #76 from sebastiencand/master
Browse files Browse the repository at this point in the history
fixed certificat namespace when checking signature
  • Loading branch information
i8beef authored Nov 25, 2022
2 parents fd5aa3f + 210c25b commit 5248680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SAML2/Utils/XmlSignatureUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ private static void CheckDocument(XmlElement el)
private static List<X509Certificate2> GetCertificates(XmlDocument doc)
{
var certificates = new List<X509Certificate2>();
var nodeList = doc.GetElementsByTagName("ds:X509Certificate");
var nodeList = doc.GetElementsByTagName("X509Certificate", Saml20Constants.Xmldsig);
if (nodeList.Count == 0)
{
nodeList = doc.GetElementsByTagName("X509Certificate");
Expand Down

0 comments on commit 5248680

Please sign in to comment.