Skip to content

Commit

Permalink
Fixes tngan#514 -- removing node when not using exclusive canonicaliz…
Browse files Browse the repository at this point in the history
…ation fails validation
  • Loading branch information
varunrau committed Apr 26, 2023
1 parent 43ac296 commit 493e5a0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/libsaml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -444,8 +444,6 @@ const libSaml = () => {

sig.loadSignature(signatureNode);

doc.removeChild(signatureNode);

verified = verified && sig.checkSignature(doc.toString());

// immediately throw error when any one of the signature is failed to get verified
Expand Down

0 comments on commit 493e5a0

Please sign in to comment.