diff options
author | Eric Biggers <ebiggers@google.com> | 2019-01-10 21:17:53 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-01-18 11:43:42 +0100 |
commit | a1180cffea6a8c54161eb8e9ca8b2aeaa933a910 (patch) | |
tree | 6fb52015c0574baa02a1eb2104edc33f90ef4518 /crypto | |
parent | crypto: gcm - use correct endianness type in gcm_hash_len() (diff) | |
download | linux-a1180cffea6a8c54161eb8e9ca8b2aeaa933a910.tar.xz linux-a1180cffea6a8c54161eb8e9ca8b2aeaa933a910.zip |
crypto: rsa-pkcs1pad - include <crypto/internal/rsa.h>
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>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/rsa-pkcs1pad.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/rsa-pkcs1pad.c b/crypto/rsa-pkcs1pad.c index cfc04e15fd97..0a6680ca8cb6 100644 --- a/crypto/rsa-pkcs1pad.c +++ b/crypto/rsa-pkcs1pad.c @@ -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> |