X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwgtpkg-digsig.h;h=defcfa1bf7b5d0e17244f40bfe51666908a1fa30;hb=7ea1070ee471141f58e9e4c03df5c95bbcef907d;hp=99c5a56cb90d01223ccbf2d826d07b48172c000b;hpb=189415eece11c543e1ccb95dff32695ddc383565;p=src%2Fapp-framework-main.git diff --git a/src/wgtpkg-digsig.h b/src/wgtpkg-digsig.h index 99c5a56..defcfa1 100644 --- a/src/wgtpkg-digsig.h +++ b/src/wgtpkg-digsig.h @@ -1,5 +1,5 @@ /* - Copyright 2015 IoT.bzh + Copyright (C) 2015-2020 IoT.bzh author: José Bollo @@ -21,8 +21,8 @@ extern int verify_digsig(struct filedesc *fdesc); /* create a digital signature */ -extern int create_digsig(int index, const char *key, const char **certs); +extern int create_digsig(unsigned int index, const char *key, const char **certs); /* check the signatures of the current directory */ -extern int check_all_signatures(); +extern int check_all_signatures(int allow_none);