ah: Do not include crypto/algapi.h
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 22 Aug 2023 09:30:21 +0000 (17:30 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Sep 2023 10:30:43 +0000 (18:30 +0800)
The header file crypto/algapi.h is for internal use only.  Use the
header file crypto/utils.h instead.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
net/ipv4/ah4.c
net/ipv6/ah6.c

index 015c0f4ec5ba9f8cea4a308286c96c9fe016ea01..bc0f968c5d5b4839ca333e572440e1a0b334b490 100644 (file)
@@ -1,8 +1,8 @@
 // SPDX-License-Identifier: GPL-2.0-only
 #define pr_fmt(fmt) "IPsec: " fmt
 
-#include <crypto/algapi.h>
 #include <crypto/hash.h>
+#include <crypto/utils.h>
 #include <linux/err.h>
 #include <linux/module.h>
 #include <linux/slab.h>
index 01005035ad1018c3c704743bfedc09350b31481f..56f9282ec5df4338ecd44d96385a204f7e045617 100644 (file)
@@ -13,8 +13,8 @@
 
 #define pr_fmt(fmt) "IPv6: " fmt
 
-#include <crypto/algapi.h>
 #include <crypto/hash.h>
+#include <crypto/utils.h>
 #include <linux/module.h>
 #include <linux/slab.h>
 #include <net/ip.h>