X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwgtpkg-sign.c;h=ebaf2dc2fc85141697fa3ab50fc7492a6c78ac44;hb=c6b2074e18ce7a37a59bc1c3831407b42b18c889;hp=9df50ec7bf934ff51d290490919876821e801bbc;hpb=41e3ea4dbae634ca13941d134e990d953b741c4b;p=src%2Fapp-framework-main.git diff --git a/src/wgtpkg-sign.c b/src/wgtpkg-sign.c index 9df50ec..ebaf2dc 100644 --- a/src/wgtpkg-sign.c +++ b/src/wgtpkg-sign.c @@ -1,5 +1,7 @@ /* - Copyright 2015 IoT.bzh + Copyright 2015, 2016 IoT.bzh + + author: José Bollo Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -25,8 +27,13 @@ #include #include +#include + #include "verbose.h" -#include "wgtpkg.h" +#include "wgtpkg-files.h" +#include "wgtpkg-workdir.h" +#include "wgtpkg-digsig.h" +#include "wgtpkg-xmlsec.h" #if !defined(MAXCERT) #define MAXCERT 20 @@ -56,7 +63,7 @@ static unsigned int get_number(const char *value) static void usage() { printf( - "usage: %s [-f] [-k keyfile] [-c certfile]... [-o wgtfile] [-d number | -a] directory\n" + "usage: %s [-f] [-k keyfile] [-c certfile]... [-d number | -a] directory\n" "\n" " -k keyfile the private key to use for author signing\n" " -c certfile the certificate(s) to use for author signing\n"