Code Review
/
src
/
app-framework-main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Refactor ALLOW_NO_SIGNATURE compile flag
[src/app-framework-main.git]
/
src
/
wgtpkg-digsig.h
diff --git
a/src/wgtpkg-digsig.h
b/src/wgtpkg-digsig.h
index
99c5a56
..
defcfa1
100644
(file)
--- 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 <jose.bollo@iot.bzh>
author: José Bollo <jose.bollo@iot.bzh>
@@
-21,8
+21,8
@@
extern int verify_digsig(struct filedesc *fdesc);
/* create a digital signature */
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 */
/* check the signatures of the current directory */
-extern int check_all_signatures();
+extern int check_all_signatures(
int allow_none
);