aboutsummaryrefslogtreecommitdiffstats
path: root/src/wgtpkg-digsig.h
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2019-09-11 16:23:04 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2020-02-28 12:19:24 +0100
commit7ea1070ee471141f58e9e4c03df5c95bbcef907d (patch)
tree0a1478a93095286e4e8a637196956061a9201161 /src/wgtpkg-digsig.h
parent0083ad3751cd2b088b5c5d0dea727671ea2a3cca (diff)
Refactor ALLOW_NO_SIGNATURE compile flag
Fix a tiny bug and minor improvements Bug-AGL: SPEC-2840 Change-Id: I9b74a8fd604980615d5669219cb5de801de61163 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/wgtpkg-digsig.h')
-rw-r--r--src/wgtpkg-digsig.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/wgtpkg-digsig.h b/src/wgtpkg-digsig.h
index 8c105d6..defcfa1 100644
--- a/src/wgtpkg-digsig.h
+++ b/src/wgtpkg-digsig.h
@@ -26,6 +26,3 @@ 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