mirror of https://github.com/ARMmbed/mbed-os.git
read mitm of the csrk key not pairing
parent
bc1e809ca3
commit
56ea4202d7
|
|
@ -500,10 +500,15 @@ public:
|
|||
connection_handle_t connection,
|
||||
csrk_t csrk
|
||||
) {
|
||||
SecurityEntry_t *entry = db.get_entry(connection);
|
||||
if (!entry) {
|
||||
return DB_CB_ACTION_NO_UPDATE_REQUIRED;
|
||||
}
|
||||
|
||||
_app_event_handler->signingKey(
|
||||
connection,
|
||||
csrk,
|
||||
db.get_entry(connection)->mitm_pairing
|
||||
entry->mitm_csrk
|
||||
);
|
||||
return DB_CB_ACTION_NO_UPDATE_REQUIRED;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue