vendor: revendor

This commit is contained in:
Eric Chiang
2017-03-21 09:27:22 -07:00
parent 5888220965
commit 910d59865b
6 changed files with 372 additions and 96 deletions

View File

@@ -89,7 +89,7 @@ func (ctx *SigningContext) constructSignedInfo(el *etree.Element, enveloped bool
// /SignedInfo/Reference
reference := ctx.createNamespacedElement(signedInfo, ReferenceTag)
dataId := el.SelectAttrValue(DefaultIdAttr, "")
dataId := el.SelectAttrValue(ctx.IdAttribute, "")
if dataId == "" {
return nil, errors.New("Missing data ID")
}