X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-main.git;a=blobdiff_plain;f=src%2Fwgtpkg-digsig.h;h=a1cc32d8055846aca8015967f3b1afe269994e5b;hp=5b89100a35d5cfb41ae3316e2ca2fe6e10b2a9be;hb=956e7c57d15bde67d7392aab01a9c0fc6906bbd4;hpb=2a319cf90daa6e3b01e8139923f7073e1c9bcf28 diff --git a/src/wgtpkg-digsig.h b/src/wgtpkg-digsig.h index 5b89100..a1cc32d 100644 --- a/src/wgtpkg-digsig.h +++ b/src/wgtpkg-digsig.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2015-2019 IoT.bzh + Copyright (C) 2015-2020 IoT.bzh author: José Bollo @@ -26,6 +26,6 @@ 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(int allow_none); -#if !defined(DEFAULT_ALLOW_NO_SIGNATURE) -#define DEFAULT_ALLOW_NO_SIGNATURE 0 -#endif +/* create a digital signature(s) from environment data */ +extern int create_auto_digsig(); +