SUNRPC: Do not include crypto/algapi.h
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 22 Aug 2023 09:36:16 +0000 (17:36 +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.

Acked-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
net/sunrpc/auth_gss/gss_krb5_crypto.c
net/sunrpc/auth_gss/gss_krb5_unseal.c

index 9734e1d9f991f85df5157c7580daddf732bfa258..d2b02710ab0709dfc92b4ce8e1bc0d892016594e 100644 (file)
@@ -34,9 +34,9 @@
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#include <crypto/algapi.h>
 #include <crypto/hash.h>
 #include <crypto/skcipher.h>
+#include <crypto/utils.h>
 #include <linux/err.h>
 #include <linux/types.h>
 #include <linux/mm.h>
index 4fbc50a0a2c4bfd36d1068534c68372ee63c9f4d..ef0e6af9fc959c217867f469100d035339ca7342 100644 (file)
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#include <crypto/algapi.h>
 #include <linux/types.h>
 #include <linux/jiffies.h>
 #include <linux/sunrpc/gss_krb5.h>
-#include <linux/crypto.h>
 
 #include "gss_krb5_internal.h"