summaryrefslogtreecommitdiff
path: root/backport-include/keys/system_keyring.h
diff options
context:
space:
mode:
Diffstat (limited to 'backport-include/keys/system_keyring.h')
-rw-r--r--backport-include/keys/system_keyring.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/backport-include/keys/system_keyring.h b/backport-include/keys/system_keyring.h
new file mode 100644
index 0000000..00d2bff
--- /dev/null
+++ b/backport-include/keys/system_keyring.h
@@ -0,0 +1,10 @@
+#ifndef __BP_SYSTEM_KEYRING_H
+#define __BP_SYSTEM_KEYRING_H
+#ifndef CPTCFG_BPAUTO_BUILD_SYSTEM_DATA_VERIFICATION
+#include_next <keys/system_keyring.h>
+#else
+#include <linux/key.h>
+
+#define is_hash_blacklisted(...) 0
+#endif /* CPTCFG_BPAUTO_BUILD_SYSTEM_DATA_VERIFICATION */
+#endif /* __BP_SYSTEM_KEYRING_H */