Skip to content

Commit

Permalink
Merge pull request #207 from troyfactor4/master
Browse files Browse the repository at this point in the history
Test suites of other projects (mocha) that include v1.5.0 fail
  • Loading branch information
LoneRifle authored Apr 13, 2020
2 parents 0157f26 + 234bc0b commit 07e2320
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/signed-xml.js
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ SignedXml.prototype.computeSignature = function(xml, opts, callback) {
prefix = opts.prefix;
attrs = opts.attrs || {};
location = opts.location || {};
existingPrefixes = opts.existingPrefixes || {};
var existingPrefixes = opts.existingPrefixes || {};
// defaults to the root node
location.reference = location.reference || "/*";
// defaults to append action
Expand Down Expand Up @@ -820,7 +820,7 @@ SignedXml.prototype.computeSignature = function(xml, opts, callback) {
signatureDoc.insertBefore(self.createSignature(prefix), signedInfoNode.nextSibling)
self.signatureXml = signatureDoc.toString()
self.signedXml = doc.toString()
callback()
callback(null, self)
}
})
}
Expand Down Expand Up @@ -1017,4 +1017,4 @@ SignedXml.prototype.getOriginalXmlWithIds = function() {

SignedXml.prototype.getSignedXml = function() {
return this.signedXml
}
}

0 comments on commit 07e2320

Please sign in to comment.