diff options
author | José Bollo <jose.bollo@iot.bzh> | 2015-12-11 22:55:11 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2015-12-11 22:55:11 +0100 |
commit | 12a227a2fc574cf0fd560453e1cdd15c50550abb (patch) | |
tree | 279f52c897e44951ca6d3a66ec2b3e0e2befb634 /src/wgtpkg-digsig.c | |
parent | 7e1027342a3cff95635ba2107f283321cf0efa08 (diff) |
more work
Change-Id: I7eac968a21766be44068463bcab8aaaa3d12941f
Diffstat (limited to 'src/wgtpkg-digsig.c')
-rw-r--r-- | src/wgtpkg-digsig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wgtpkg-digsig.c b/src/wgtpkg-digsig.c index 80428fa..984127b 100644 --- a/src/wgtpkg-digsig.c +++ b/src/wgtpkg-digsig.c @@ -209,7 +209,7 @@ static int check_references(xmlNodePtr sinfo) if (f->type == type_file) { flags = f->flags; if (!(flags & (flag_signature | flag_referenced))) { - syslog(LOG_ERR, "file not referenced in signature", f->name); + syslog(LOG_ERR, "file not referenced in signature: %s", f->name); result = -1; } } @@ -385,7 +385,7 @@ int create_digsig(int index, const char *key, const char **certs) len = xmlSaveDoc(ctx, doc); if (len < 0) { syslog(LOG_ERR, "xmlSaveDoc to %s failed", fdesc->name); - goto error2; + goto error4; } rc = 0; |