summaryrefslogtreecommitdiff
path: root/certs/blacklist_hashes.c
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-06-12 02:22:31 +0900
committerJarkko Sakkinen <jarkko@kernel.org>2022-06-15 21:52:32 +0300
commit27b5b22d252c6d71a2a37a4bdf18d0be6d25ee5a (patch)
treec18c4378c767ebfa4ee221b4400793dec1f51343 /certs/blacklist_hashes.c
parent6a1c3767d82ed8233de1263aa7da81595e176087 (diff)
certs: fix and refactor CONFIG_SYSTEM_BLACKLIST_HASH_LIST build
Commit addf466389d9 ("certs: Check that builtin blacklist hashes are valid") was applied 8 months after the submission. In the meantime, the base code had been removed by commit b8c96a6b466c ("certs: simplify $(srctree)/ handling and remove config_filename macro"). Fix the Makefile. Create a local copy of $(CONFIG_SYSTEM_BLACKLIST_HASH_LIST). It is included from certs/blacklist_hashes.c and also works as a timestamp. Send error messages from check-blacklist-hashes.awk to stderr instead of stdout. Fixes: addf466389d9 ("certs: Check that builtin blacklist hashes are valid") Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Reviewed-by: Mickaël Salaün <mic@linux.microsoft.com> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'certs/blacklist_hashes.c')
-rw-r--r--certs/blacklist_hashes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/certs/blacklist_hashes.c b/certs/blacklist_hashes.c
index d5961aa3d338..86d66fe11348 100644
--- a/certs/blacklist_hashes.c
+++ b/certs/blacklist_hashes.c
@@ -2,6 +2,6 @@
#include "blacklist.h"
const char __initconst *const blacklist_hashes[] = {
-#include CONFIG_SYSTEM_BLACKLIST_HASH_LIST
+#include "blacklist_hash_list"
, NULL
};