diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-31 10:41:58 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2020-07-31 16:42:04 +0300 |
commit | 075f77324f90149bac12c8a705dae5786a1d24fb (patch) | |
tree | b6831a461a42607aaced1153b1968f7e7cad92bf /net/bluetooth/selftest.c | |
parent | 79bf118957a1966344b247d240434d8047d02ac9 (diff) | |
download | linux-075f77324f90149bac12c8a705dae5786a1d24fb.tar.xz |
Bluetooth: Remove CRYPTO_ALG_INTERNAL flag
The flag CRYPTO_ALG_INTERNAL is not meant to be used outside of
the Crypto API. It isn't needed here anyway.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/selftest.c')
-rw-r--r-- | net/bluetooth/selftest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/selftest.c b/net/bluetooth/selftest.c index 03e3c89c3046..f71c6fa65fb3 100644 --- a/net/bluetooth/selftest.c +++ b/net/bluetooth/selftest.c @@ -205,7 +205,7 @@ static int __init test_ecdh(void) calltime = ktime_get(); - tfm = crypto_alloc_kpp("ecdh", CRYPTO_ALG_INTERNAL, 0); + tfm = crypto_alloc_kpp("ecdh", 0, 0); if (IS_ERR(tfm)) { BT_ERR("Unable to create ECDH crypto context"); err = PTR_ERR(tfm); |