diff mbox series

[30/30] backports: Remove crypto/akcipher.h

Message ID 20201201220415.30582-31-hauke@hauke-m.de (mailing list archive)
State New, archived
Headers show
Series backports: Update to match kernel 5.10-rc6 | expand

Commit Message

Hauke Mehrtens Dec. 1, 2020, 10:04 p.m. UTC
crypto/akcipher.h is only used by code which was anyway removed in the
patches/verify.patch patch from include/crypto/backport-public_key.h.

Remove the include, because is not available on older kernel version.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 patches/verify.patch | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/patches/verify.patch b/patches/verify.patch
index f76b6bf5..f1faff55 100644
--- a/patches/verify.patch
+++ b/patches/verify.patch
@@ -64,7 +64,15 @@ 
  	struct x509_certificate *signer;	/* Certificate that signed this one */
 --- a/include/crypto/backport-public_key.h
 +++ b/include/crypto/backport-public_key.h
-@@ -53,34 +53,6 @@ extern void public_key_signature_free(st
+@@ -12,7 +12,6 @@
+ 
+ #include <linux/keyctl.h>
+ #include <linux/oid_registry.h>
+-#include <crypto/akcipher.h>
+ 
+ /*
+  * Cryptographic data for the public-key subtype of the asymmetric key type.
+@@ -53,34 +52,6 @@ extern void public_key_signature_free(st
  
  extern struct asymmetric_key_subtype public_key_subtype;