Bluetooth: SMP: Fail if remote and local public keys are identical
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 10 Mar 2021 22:13:08 +0000 (14:13 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 11 Mar 2021 10:45:51 +0000 (11:45 +0100)
commit6d19628f539fccf899298ff02ee4c73e4bf6df3f
tree5567ed750cf53ec71683c21a430e51c448b4956b
parentd00745da644d42c2f97293eb3fe19cfd5c0b073c
Bluetooth: SMP: Fail if remote and local public keys are identical

This fails the pairing procedure when both remote and local non-debug
public keys are identical.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/smp.c