diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2020-11-13 09:12:59 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-11-20 06:45:33 +0300 |
commit | 1201581c57925b8bc2cba8628b61add3d16d4615 (patch) | |
tree | dff2d1c9b9b917db2d81678e479238ae37c927fa /lib | |
parent | a24d22b225ce158651378869a6b88105c4bdb887 (diff) | |
download | linux-1201581c57925b8bc2cba8628b61add3d16d4615.tar.xz |
crypto: lib/curve25519 - Move selftest prototype into header file
This patch moves the curve25519_selftest into curve25519.h so
we don't get a warning from gcc complaining about a missing
prototype.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/crypto/curve25519.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/crypto/curve25519.c b/lib/crypto/curve25519.c index 288a62cd29b2..fb29739e8c29 100644 --- a/lib/crypto/curve25519.c +++ b/lib/crypto/curve25519.c @@ -13,8 +13,6 @@ #include <linux/module.h> #include <linux/init.h> -bool curve25519_selftest(void); - static int __init mod_init(void) { if (!IS_ENABLED(CONFIG_CRYPTO_MANAGER_DISABLE_TESTS) && |