diff options
author | Dominik Sliwa <dominik.sliwa@toradex.com> | 2017-12-22 12:07:34 +0000 |
---|---|---|
committer | Dominik Sliwa <dominik.sliwa@toradex.com> | 2018-09-18 17:15:11 +0200 |
commit | 69ff0b5709d0d06545fcb2d08c7645b56d3687dd (patch) | |
tree | 71f1569cc019e16c1b1be22c1e8d382766daebb3 /net/bluetooth/ecdh_helper.c | |
parent | d6a47bfb72f495a72637fbe635220f6af0f4cb6f (diff) |
backports: bluetooth: Support 4.9 kernels
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Diffstat (limited to 'net/bluetooth/ecdh_helper.c')
-rw-r--r-- | net/bluetooth/ecdh_helper.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/bluetooth/ecdh_helper.c b/net/bluetooth/ecdh_helper.c index 2155ce8..9c91522 100644 --- a/net/bluetooth/ecdh_helper.c +++ b/net/bluetooth/ecdh_helper.c @@ -23,6 +23,9 @@ #include "ecdh_helper.h" #include <linux/scatterlist.h> +#if LINUX_VERSION_IS_LESS(4,8,0) +#include <crypto/backport-kpp.h> +#endif #include <crypto/ecdh.h> struct ecdh_completion { |