forked from auracaster/bumble_mirror
DH Key compute check modification for OOB Pairing
This commit is contained in:
@@ -764,7 +764,11 @@ class Session:
|
||||
self.peer_io_capability = SMP_NO_INPUT_NO_OUTPUT_IO_CAPABILITY
|
||||
|
||||
# OOB
|
||||
self.oob_data_flag = 0 if pairing_config.oob.peer_data is None else 1
|
||||
self.oob_data_flag = 0
|
||||
if pairing_config.oob is not None:
|
||||
if pairing_config.oob.peer_data is not None:
|
||||
self.oob_data_flag = 1
|
||||
|
||||
|
||||
# Set up addresses
|
||||
self_address = connection.self_resolvable_address or connection.self_address
|
||||
|
||||
Reference in New Issue
Block a user