progress: enable xmldsig and do other cleanups

This commit is contained in:
Ross Kinder
2015-12-23 11:31:54 -05:00
parent 45f8aa9eeb
commit b390a3e30a
10 changed files with 655 additions and 381 deletions

View File

@@ -48,7 +48,7 @@ func DecryptXML(privateKey []byte, doc []byte) ([]byte, error) {
parsedDoc, err := newDoc(doc)
if err != nil {
return nil, fmt.Errorf("malformed XML")
return nil, err
}
defer closeDoc(parsedDoc)