]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
crypto: rsa-pkcs1pad - include <crypto/internal/rsa.h>
authorEric Biggers <ebiggers@google.com>
Thu, 10 Jan 2019 20:17:53 +0000 (12:17 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Jan 2019 10:43:42 +0000 (18:43 +0800)
Include internal/rsa.h in rsa-pkcs1pad.c to get the declaration of
rsa_pkcs1pad_tmpl.  This fixes the following sparse warning:

    crypto/rsa-pkcs1pad.c:698:24: warning: symbol 'rsa_pkcs1pad_tmpl' was not declared. Should it be static?

Cc: Andrzej Zaborowski <andrew.zaborowski@intel.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/rsa-pkcs1pad.c

index cfc04e15fd97506a6110c5845673db731a0cf757..0a6680ca8cb6fc09b003806d0b40c5561c8526dc 100644 (file)
@@ -12,6 +12,7 @@
 #include <crypto/algapi.h>
 #include <crypto/akcipher.h>
 #include <crypto/internal/akcipher.h>
+#include <crypto/internal/rsa.h>
 #include <linux/err.h>
 #include <linux/init.h>
 #include <linux/kernel.h>