summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2023-08-22 12:37:13 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-09-15 13:30:43 +0300
commitaa7c98b1243773ea4a1a107d3a6b7df51ece180f (patch)
tree80817967b1b2ad4a77c921cd6ac3679457c2a9ff
parent7b5fad7cffc8e660e4361127a965d545cdfc4fc7 (diff)
downloadlinux-aa7c98b1243773ea4a1a107d3a6b7df51ece180f.tar.xz
evm: Do not include crypto/algapi.h
The header file crypto/algapi.h is for internal use only. Use the header file crypto/utils.h instead. Acked-by: Mimi Zohar <zohar@linux.ibm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--security/integrity/evm/evm_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/security/integrity/evm/evm_main.c b/security/integrity/evm/evm_main.c
index ff9a939dad8e..894570fe39bc 100644
--- a/security/integrity/evm/evm_main.c
+++ b/security/integrity/evm/evm_main.c
@@ -14,7 +14,6 @@
#define pr_fmt(fmt) "EVM: "fmt
#include <linux/init.h>
-#include <linux/crypto.h>
#include <linux/audit.h>
#include <linux/xattr.h>
#include <linux/integrity.h>
@@ -25,7 +24,7 @@
#include <crypto/hash.h>
#include <crypto/hash_info.h>
-#include <crypto/algapi.h>
+#include <crypto/utils.h>
#include "evm.h"
int evm_initialized;