aboutsummaryrefslogtreecommitdiffstats
path: root/src/wgtpkg-digsig.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wgtpkg-digsig.h')
-rw-r--r--src/wgtpkg-digsig.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wgtpkg-digsig.h b/src/wgtpkg-digsig.h
index 7bcb18f..fee9d49 100644
--- a/src/wgtpkg-digsig.h
+++ b/src/wgtpkg-digsig.h
@@ -24,5 +24,8 @@ extern int verify_digsig(struct filedesc *fdesc);
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);
+#if !defined(DEFAULT_ALLOW_NO_SIGNATURE)
+#define DEFAULT_ALLOW_NO_SIGNATURE 0
+#endif