ima: load x509 certificate from the kernel
[firefly-linux-kernel-4.4.55.git] / security / integrity / integrity.h
index 1057abbd31cdeb4de93e76ce810963a8b2001b77..caa1f6ca72e9f8b2ecea6decb1e1728efa2df0d9 100644 (file)
@@ -162,6 +162,14 @@ static inline int asymmetric_verify(struct key *keyring, const char *sig,
 }
 #endif
 
+#ifdef CONFIG_IMA_LOAD_X509
+void __init ima_load_x509(void);
+#else
+static inline void ima_load_x509(void)
+{
+}
+#endif
+
 #ifdef CONFIG_INTEGRITY_AUDIT
 /* declarations */
 void integrity_audit_msg(int audit_msgno, struct inode *inode,