DH Key compute check modification for OOB Pairing

This commit is contained in:
Gopi Sakshihally Bhuthaiah
2024-08-08 08:45:15 +00:00
parent 414f2f3efb
commit c44c89cc6e

View File

@@ -764,7 +764,9 @@ class Session:
self.peer_io_capability = SMP_NO_INPUT_NO_OUTPUT_IO_CAPABILITY
# OOB
self.oob_data_flag = 1 if pairing_config.oob and pairing_config.oob.peer_data else 0
self.oob_data_flag = (
1 if pairing_config.oob and pairing_config.oob.peer_data else 0
)
# Set up addresses
self_address = connection.self_resolvable_address or connection.self_address